Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <IfModule mod_rewrite.c>
- RewriteEngine On
- # Forum redirect rule
- RewriteCond %{HTTP_HOST} forum.localhost
- RewriteCond %{REQUEST_URI} !^/forum/
- RewriteRule ^(.*)$ /forum/$1 [L]
- # Wordpress redirect rule
- RewriteCond %{HTTP_HOST} 16bap.localhost
- RewriteCond %{REQUEST_URI} !^/16bap/
- RewriteRule ^(.*)$ /16bap/$1 [L]
- # Wordpress custom permalinks rule
- RewriteBase /16bap/
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule 16bap.localhost /16bap/index.php [L]
- </IfModule>
- # Replace localhost with domain
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement