Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RewriteOptions inherit
- # Turn on URL rewriting
- RewriteEngine On
- RewriteBase //
- # Protect hidden files from being viewed
- <Files .*>
- Order Deny,Allow
- Deny From All
- </Files>
- # Protect application and system files from being viewed
- RewriteRule ^(?:application|modules|system)\b.* index.php/$0 [L]
- # List of files in subdirectories will not be displayed in the browser
- Options -Indexes
- # Allow any files or directories that exist to be displayed directly
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- AddDefaultCharset utf-8
- AddCharset UTF-8 .htm .html .txt
- AddType "text/html; charset=UTF-8" .htm .html .txt
- AddType "text/css; charset=UTF-8" .css
- AddType "text/javascript; charset=UTF-8" .js
- # Rewrite all other URLs to index.php/URL
- RewriteRule .* index.php/$0 [PT]
- RewriteCond %{HTTP_HOST} ^warfaregaming\.net$ [OR]
- RewriteCond %{HTTP_HOST} ^www\.warfaregaming\.net$
- RewriteRule ^/?$ "http\:\/\/warfaregaming\.net\/i\/" [R=301,L]
- RewriteCond %{HTTP_HOST} ^nandhistudios\.net$ [OR]
- RewriteCond %{HTTP_HOST} ^www\.nandhistudios\.net$
- RewriteRule ^/?$ "http\:\/\/nandhistudios\.net\/s\/" [R=301,L]
- RewriteCond %{HTTP_HOST} ^nandhi\.tv$ [OR]
- RewriteCond %{HTTP_HOST} ^www\.nandhi\.tv$
- RewriteRule ^/?$ "http\:\/\/nandhi\.tv\/h\/" [R=301,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement