Created
January 22, 2020 20:01
-
-
Save eurowebpage/0e7be0590276780246238bf155c1a194 to your computer and use it in GitHub Desktop.
htaccess simple redirection
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Options +FollowSymlinks | |
RewriteEngine on | |
RewriteCond %{HTTP_HOST} ^www.votre-site.eu$ | |
RewriteRule ^(.*) http://votre-site.eu/$1 [QSA,L,R=301] | |
RewriteEngine On | |
RewriteRule ^([a-zA-Z0-9\-\_]+)$ $1.php | |
RewriteEngine On | |
RewriteCond %{SERVER_PORT} 80 | |
RewriteRule ^(.*)$ https://votre-site.eu/$1 [R=301,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment