René's URL Explorer Experiment


Title: GitHub - techact/htaccess: A collection of useful .htaccess snippets.

Open Graph Title: GitHub - techact/htaccess: A collection of useful .htaccess snippets.

X Title: GitHub - techact/htaccess: A collection of useful .htaccess snippets.

Description: A collection of useful .htaccess snippets. Contribute to techact/htaccess development by creating an account on GitHub.

Open Graph Description: A collection of useful .htaccess snippets. Contribute to techact/htaccess development by creating an account on GitHub.

X Description: A collection of useful .htaccess snippets. Contribute to techact/htaccess development by creating an account on GitHub.

Opengraph URL: https://github.com/techact/htaccess

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:47221865-8097-28cf-2ab7-b6d98ae9229f
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idDE44:3FF195:139981A:192D206:698FFAC9
html-safe-nonce512072962300053bb788aac9aacaf6581f8e20991625c05e1d2738038c04feb0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTQ0OjNGRjE5NToxMzk5ODFBOjE5MkQyMDY6Njk4RkZBQzkiLCJ2aXNpdG9yX2lkIjoiMzM5MzE2NTI0MjQwMTgxNTI0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4b193f387fd0762dac201a6bde267d305f1d87d47010341a0a7a37605307eab2
hovercard-subject-tagrepository:71636760
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/techact/htaccess
twitter:imagehttps://opengraph.githubassets.com/57dd17c65d73386da67b30646d547beafbda9232bc76135a98926668d2e3b83b/techact/htaccess
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/57dd17c65d73386da67b30646d547beafbda9232bc76135a98926668d2e3b83b/techact/htaccess
og:image:altA collection of useful .htaccess snippets. Contribute to techact/htaccess development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-preview
go-importgithub.com/techact/htaccess git https://github.com/techact/htaccess.git
octolytics-dimension-user_id11287947
octolytics-dimension-user_logintechact
octolytics-dimension-repository_id71636760
octolytics-dimension-repository_nwotechact/htaccess
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id29900673
octolytics-dimension-repository_parent_nwophanan/htaccess
octolytics-dimension-repository_network_root_id29900673
octolytics-dimension-repository_network_root_nwophanan/htaccess
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/techact/htaccess#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftechact%2Fhtaccess
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftechact%2Fhtaccess
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=techact%2Fhtaccess
Reloadhttps://patch-diff.githubusercontent.com/techact/htaccess
Reloadhttps://patch-diff.githubusercontent.com/techact/htaccess
Reloadhttps://patch-diff.githubusercontent.com/techact/htaccess
techact https://patch-diff.githubusercontent.com/techact
htaccesshttps://patch-diff.githubusercontent.com/techact/htaccess
phanan/htaccesshttps://patch-diff.githubusercontent.com/phanan/htaccess
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Ftechact%2Fhtaccess
Fork 0 https://patch-diff.githubusercontent.com/login?return_to=%2Ftechact%2Fhtaccess
Star 0 https://patch-diff.githubusercontent.com/login?return_to=%2Ftechact%2Fhtaccess
View license https://patch-diff.githubusercontent.com/techact/htaccess/blob/master/LICENSE
0 stars https://patch-diff.githubusercontent.com/techact/htaccess/stargazers
1.3k forks https://patch-diff.githubusercontent.com/techact/htaccess/forks
Branches https://patch-diff.githubusercontent.com/techact/htaccess/branches
Tags https://patch-diff.githubusercontent.com/techact/htaccess/tags
Activity https://patch-diff.githubusercontent.com/techact/htaccess/activity
Star https://patch-diff.githubusercontent.com/login?return_to=%2Ftechact%2Fhtaccess
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Ftechact%2Fhtaccess
Code https://patch-diff.githubusercontent.com/techact/htaccess
Pull requests 0 https://patch-diff.githubusercontent.com/techact/htaccess/pulls
Actions https://patch-diff.githubusercontent.com/techact/htaccess/actions
Projects 0 https://patch-diff.githubusercontent.com/techact/htaccess/projects
Wiki https://patch-diff.githubusercontent.com/techact/htaccess/wiki
Security 0 https://patch-diff.githubusercontent.com/techact/htaccess/security
Insights https://patch-diff.githubusercontent.com/techact/htaccess/pulse
Code https://patch-diff.githubusercontent.com/techact/htaccess
Pull requests https://patch-diff.githubusercontent.com/techact/htaccess/pulls
Actions https://patch-diff.githubusercontent.com/techact/htaccess/actions
Projects https://patch-diff.githubusercontent.com/techact/htaccess/projects
Wiki https://patch-diff.githubusercontent.com/techact/htaccess/wiki
Security https://patch-diff.githubusercontent.com/techact/htaccess/security
Insights https://patch-diff.githubusercontent.com/techact/htaccess/pulse
Brancheshttps://patch-diff.githubusercontent.com/techact/htaccess/branches
Tagshttps://patch-diff.githubusercontent.com/techact/htaccess/tags
https://patch-diff.githubusercontent.com/techact/htaccess/branches
https://patch-diff.githubusercontent.com/techact/htaccess/tags
150 Commitshttps://patch-diff.githubusercontent.com/techact/htaccess/commits/master/
https://patch-diff.githubusercontent.com/techact/htaccess/commits/master/
Translationshttps://patch-diff.githubusercontent.com/techact/htaccess/tree/master/Translations
Translationshttps://patch-diff.githubusercontent.com/techact/htaccess/tree/master/Translations
.editorconfighttps://patch-diff.githubusercontent.com/techact/htaccess/blob/master/.editorconfig
.editorconfighttps://patch-diff.githubusercontent.com/techact/htaccess/blob/master/.editorconfig
CONTRIBUTING.mdhttps://patch-diff.githubusercontent.com/techact/htaccess/blob/master/CONTRIBUTING.md
CONTRIBUTING.mdhttps://patch-diff.githubusercontent.com/techact/htaccess/blob/master/CONTRIBUTING.md
LICENSEhttps://patch-diff.githubusercontent.com/techact/htaccess/blob/master/LICENSE
LICENSEhttps://patch-diff.githubusercontent.com/techact/htaccess/blob/master/LICENSE
README.mdhttps://patch-diff.githubusercontent.com/techact/htaccess/blob/master/README.md
README.mdhttps://patch-diff.githubusercontent.com/techact/htaccess/blob/master/README.md
READMEhttps://patch-diff.githubusercontent.com/techact/htaccess
Contributinghttps://patch-diff.githubusercontent.com/techact/htaccess
Licensehttps://patch-diff.githubusercontent.com/techact/htaccess
https://github.com/sindresorhus/awesome
https://patch-diff.githubusercontent.com/techact/htaccess#htaccess-snippets-
howto in the httpd documentationhttps://httpd.apache.org/docs/current/howto/htaccess.html
upgrading documenthttps://httpd.apache.org/docs/2.4/upgrading.html
this issuehttps://github.com/phanan/htaccess/issues/2
https://patch-diff.githubusercontent.com/techact/htaccess#credits
Apache Server Configshttps://github.com/h5bp/server-configs-apache
https://patch-diff.githubusercontent.com/techact/htaccess#table-of-contents
Rewrite and Redirectionhttps://patch-diff.githubusercontent.com/techact/htaccess#rewrite-and-redirection
Force wwwhttps://patch-diff.githubusercontent.com/techact/htaccess#force-www
Force www in a Generic Wayhttps://patch-diff.githubusercontent.com/techact/htaccess#force-www-in-a-generic-way
Force non-wwwhttps://patch-diff.githubusercontent.com/techact/htaccess#force-non-www
Force non-www in a Generic Wayhttps://patch-diff.githubusercontent.com/techact/htaccess#force-non-www-in-a-generic-way
Force HTTPShttps://patch-diff.githubusercontent.com/techact/htaccess#force-https
Force HTTPS Behind a Proxyhttps://patch-diff.githubusercontent.com/techact/htaccess#force-https-behind-a-proxy
Force Trailing Slashhttps://patch-diff.githubusercontent.com/techact/htaccess#force-trailing-slash
Remove Trailing Slashhttps://patch-diff.githubusercontent.com/techact/htaccess#remove-trailing-slash
Redirect a Single Pagehttps://patch-diff.githubusercontent.com/techact/htaccess#redirect-a-single-page
Redirect Using RedirectMatchhttps://patch-diff.githubusercontent.com/techact/htaccess#redirect-using-redirectmatch
Alias a Single Directoryhttps://patch-diff.githubusercontent.com/techact/htaccess#alias-a-single-directory
Alias Paths to Scripthttps://patch-diff.githubusercontent.com/techact/htaccess#alias-paths-to-script
Redirect an Entire Sitehttps://patch-diff.githubusercontent.com/techact/htaccess#redirect-an-entire-site
Alias "Clean" URLshttps://patch-diff.githubusercontent.com/techact/htaccess#alias-clean-urls
Securityhttps://patch-diff.githubusercontent.com/techact/htaccess#security
Deny All Accesshttps://patch-diff.githubusercontent.com/techact/htaccess#deny-all-access
Deny All Access Except Yourshttps://patch-diff.githubusercontent.com/techact/htaccess#deny-all-access-except-yours
Allow All Access Except Spammers'https://patch-diff.githubusercontent.com/techact/htaccess#allow-all-access-except-spammers
Deny Access to Hidden Files and Directorieshttps://patch-diff.githubusercontent.com/techact/htaccess#deny-access-to-hidden-files-and-directories
Deny Access to Backup and Source Fileshttps://patch-diff.githubusercontent.com/techact/htaccess#deny-access-to-backup-and-source-files
Disable Directory Browsinghttps://patch-diff.githubusercontent.com/techact/htaccess#disable-directory-browsing
Disable Image Hotlinkinghttps://patch-diff.githubusercontent.com/techact/htaccess#disable-image-hotlinking
Disable Image Hotlinking for Specific Domainshttps://patch-diff.githubusercontent.com/techact/htaccess#disable-image-hotlinking-for-specific-domains
Password Protect a Directoryhttps://patch-diff.githubusercontent.com/techact/htaccess#password-protect-a-directory
Password Protect a File or Several Fileshttps://patch-diff.githubusercontent.com/techact/htaccess#password-protect-a-file-or-several-files
Block Visitors by Referrerhttps://patch-diff.githubusercontent.com/techact/htaccess#block-visitors-by-referrer
Prevent Framing the Sitehttps://patch-diff.githubusercontent.com/techact/htaccess#prevent-framing-the-site
Performancehttps://patch-diff.githubusercontent.com/techact/htaccess#performance
Compress Text Fileshttps://patch-diff.githubusercontent.com/techact/htaccess#compress-text-files
Set Expires Headershttps://patch-diff.githubusercontent.com/techact/htaccess#set-expires-headers
Turn eTags Offhttps://patch-diff.githubusercontent.com/techact/htaccess#turn-etags-off
Miscellaneoushttps://patch-diff.githubusercontent.com/techact/htaccess#miscellaneous
Set PHP Variableshttps://patch-diff.githubusercontent.com/techact/htaccess#set-php-variables
Custom Error Pageshttps://patch-diff.githubusercontent.com/techact/htaccess#custom-error-pages
Force Downloadinghttps://patch-diff.githubusercontent.com/techact/htaccess#force-downloading
Prevent Downloadinghttps://patch-diff.githubusercontent.com/techact/htaccess#prevent-downloading
Allow Cross-Domain Fontshttps://patch-diff.githubusercontent.com/techact/htaccess#allow-cross-domain-fonts
Auto UTF-8 Encodehttps://patch-diff.githubusercontent.com/techact/htaccess#auto-utf-8-encode
Switch to Another PHP Versionhttps://patch-diff.githubusercontent.com/techact/htaccess#switch-to-another-php-version
Disable Internet Explorer Compatibility Viewhttps://patch-diff.githubusercontent.com/techact/htaccess#disable-internet-explorer-compatibility-view
Serve WebP Imageshttps://patch-diff.githubusercontent.com/techact/htaccess#serve-webp-images
https://patch-diff.githubusercontent.com/techact/htaccess#rewrite-and-redirection
https://patch-diff.githubusercontent.com/techact/htaccess#force-www
https://patch-diff.githubusercontent.com/techact/htaccess#force-www-in-a-generic-way
Sourcehttps://stackoverflow.com/questions/4916222/htaccess-how-to-force-www-in-a-generic-way
https://patch-diff.githubusercontent.com/techact/htaccess#force-non-www
stillhttp://www.sitepoint.com/domain-www-or-no-www/
openhttps://devcenter.heroku.com/articles/apex-domains
forhttp://yes-www.org/
debatehttp://no-www.org/
https://patch-diff.githubusercontent.com/techact/htaccess#force-non-www-in-a-generic-way
https://patch-diff.githubusercontent.com/techact/htaccess#force-https
https://patch-diff.githubusercontent.com/techact/htaccess#force-https-behind-a-proxy
https://patch-diff.githubusercontent.com/techact/htaccess#force-trailing-slash
https://patch-diff.githubusercontent.com/techact/htaccess#remove-trailing-slash
recommendedhttp://overit.com/blog/canonical-urls
Sourcehttps://stackoverflow.com/questions/21417263/htaccess-add-remove-trailing-slash-from-url#27264788
https://patch-diff.githubusercontent.com/techact/htaccess#redirect-a-single-page
Sourcehttp://css-tricks.com/snippets/htaccess/301-redirects/
https://patch-diff.githubusercontent.com/techact/htaccess#redirect-using-redirectmatch
Sourcehttp://www.askapache.com/htaccess/301-redirect-with-mod_rewrite-or-redirectmatch.html#301_Redirects_RedirectMatch
https://patch-diff.githubusercontent.com/techact/htaccess#alias-a-single-directory
https://patch-diff.githubusercontent.com/techact/htaccess#alias-paths-to-script
https://patch-diff.githubusercontent.com/techact/htaccess#redirect-an-entire-site
Sourcehttp://css-tricks.com/snippets/htaccess/301-redirects/
https://patch-diff.githubusercontent.com/techact/htaccess#alias-clean-urls
Sourcehttp://www.abeautifulsite.net/access-pages-without-the-php-extension-using-htaccess/
https://patch-diff.githubusercontent.com/techact/htaccess#security
https://patch-diff.githubusercontent.com/techact/htaccess#deny-all-access
https://patch-diff.githubusercontent.com/techact/htaccess#deny-all-access-except-yours
Sourcehttp://speckyboy.com/2013/01/08/useful-htaccess-snippets-and-hacks/
https://patch-diff.githubusercontent.com/techact/htaccess#allow-all-access-except-spammers
https://patch-diff.githubusercontent.com/techact/htaccess#deny-access-to-hidden-files-and-directories
https://patch-diff.githubusercontent.com/techact/htaccess#deny-access-to-backup-and-source-files
Sourcehttps://github.com/h5bp/server-configs-apache
https://patch-diff.githubusercontent.com/techact/htaccess#disable-directory-browsing
https://patch-diff.githubusercontent.com/techact/htaccess#disable-image-hotlinking
https://patch-diff.githubusercontent.com/techact/htaccess#disable-image-hotlinking-for-specific-domains
https://patch-diff.githubusercontent.com/techact/htaccess#password-protect-a-directory
https://patch-diff.githubusercontent.com/techact/htaccess#password-protect-a-file-or-several-files
https://patch-diff.githubusercontent.com/techact/htaccess#block-visitors-by-referrer
Sourcehttp://www.htaccess-guide.com/deny-visitors-by-referrer/
https://patch-diff.githubusercontent.com/techact/htaccess#prevent-framing-the-site
https://patch-diff.githubusercontent.com/techact/htaccess#performance
https://patch-diff.githubusercontent.com/techact/htaccess#compress-text-files
Sourcehttps://github.com/h5bp/server-configs-apache
https://patch-diff.githubusercontent.com/techact/htaccess#set-expires-headers
Sourcehttps://github.com/h5bp/server-configs-apache
https://patch-diff.githubusercontent.com/techact/htaccess#turn-etags-off
Sourcehttp://www.askapache.com/htaccess/apache-speed-etags.html
https://patch-diff.githubusercontent.com/techact/htaccess#miscellaneous
https://patch-diff.githubusercontent.com/techact/htaccess#set-php-variables
https://patch-diff.githubusercontent.com/techact/htaccess#custom-error-pages
https://patch-diff.githubusercontent.com/techact/htaccess#force-downloading
https://patch-diff.githubusercontent.com/techact/htaccess#prevent-downloading
https://patch-diff.githubusercontent.com/techact/htaccess#allow-cross-domain-fonts
CORShttps://en.wikipedia.org/wiki/Cross-origin_resource_sharing
Sourcehttps://github.com/h5bp/server-configs-apache/issues/32
https://patch-diff.githubusercontent.com/techact/htaccess#auto-utf-8-encode
Sourcehttps://github.com/h5bp/server-configs-apache
https://patch-diff.githubusercontent.com/techact/htaccess#switch-to-another-php-version
https://patch-diff.githubusercontent.com/techact/htaccess#disable-internet-explorer-compatibility-view
https://patch-diff.githubusercontent.com/techact/htaccess#serve-webp-images
WebP imageshttps://developers.google.com/speed/webp/?csw=1
Sourcehttps://github.com/vincentorback/WebP-images-with-htaccess
Readme https://patch-diff.githubusercontent.com/techact/htaccess#readme-ov-file
View license https://patch-diff.githubusercontent.com/techact/htaccess#License-1-ov-file
Contributing https://patch-diff.githubusercontent.com/techact/htaccess#contributing-ov-file
Please reload this pagehttps://patch-diff.githubusercontent.com/techact/htaccess
Activityhttps://patch-diff.githubusercontent.com/techact/htaccess/activity
0 starshttps://patch-diff.githubusercontent.com/techact/htaccess/stargazers
1 watchinghttps://patch-diff.githubusercontent.com/techact/htaccess/watchers
0 forkshttps://patch-diff.githubusercontent.com/techact/htaccess/forks
Report repository https://patch-diff.githubusercontent.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Ftechact%2Fhtaccess&report=techact+%28user%29
Releaseshttps://patch-diff.githubusercontent.com/techact/htaccess/releases
Packages 0https://patch-diff.githubusercontent.com/users/techact/packages?repo_name=htaccess
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.