View previous topic
::
View next topic
|
Author |
Message |
ramon fincken Site's programmer
 Get a free globally recognized avatar It's free!
Joined: 03 Aug 2007 Posts: 412 Location: A'dam/Diemen, The Netherlands
|
Posted: Thu Mar 23, 2017 2:46 pm Post subject: Htaccess rewrite whole site but keep lets encrypt well-known out of rewrite |
|
|
Code: | RewriteEngine on
RewriteBase /
RewriteRule ^(.well-known)($|/) - [L]
RewriteRule ^(.*)$ https://www.newdomain.nl/$1 [R=301,L] |
This will rewrite all files and paths except for the SSL verification virtual folder .well-known to the new domain |
|
Back to top |
|
 |
Google adsense Advertisement
|
Posted: Thu Mar 23, 2017 2:46 pm Post subject: Htaccess rewrite whole site but keep lets encrypt well-known out of rewrite |
|
|
Advertisement
|
|
Back to top |
|
 |
GravityForms Advertisement
|
Posted: Thu Mar 23, 2017 2:46 pm Post subject: Htaccess rewrite whole site but keep lets encrypt well-known out of rewrite |
|
|
Advertisement
 |
|
Back to top |
|
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|