Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RewriteEngine On
- RewriteCond %{HTTP_HOST} !^$
- RewriteCond %{HTTP_HOST} !^www. [NC]
- RewriteCond %{HTTPS}s ^on(s)|
- RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
- Options +FollowSymLinks
- RewriteCond %{SCRIPT_FILENAME} !-f
- RewriteCond %{SCRIPT_FILENAME} !-d
- DirectoryIndex index.php
- RewriteRule ^home/?$ index.php [L]
- RewriteRule ^([a-zA-Z0-9-]+)?$ static-page.php?slug=$1 [L]
- DirectoryIndex index.php
- Options +FollowSymLinks -MultiViews
- RewriteEngine On
- RewriteCond %{HTTP_HOST} !^www. [NC]
- RewriteCond %{HTTPS}s ^on(s)|
- RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
- RewriteCond %{SCRIPT_FILENAME} -f [OR]
- RewriteCond %{SCRIPT_FILENAME} -d
- RewriteRule ^ - [L]
- RewriteRule ^home/?$ index.php [L]
- RewriteRule ^([a-zA-Z0-9-]+)?$ static-page.php?slug=$1 [L,QSA]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement