Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mydomain.com > www.mydomain.com
- m.mydomain.com > m.mydomain.com
- mydomain.com/page.php > www.mydomain.com/page.php
- Options All -Indexes
- RewriteEngine On # Turn on the rewriting engine
- RewriteCond %{HTTP_HOST} !^www. [NC]
- RewriteCond %{HTTP_HOST} ^([a-z.]+)$ [NC]
- RewriteRule ^/(.*)$ http://www.%1/$1 [R=301,L]
- RewriteRule ^download-([A-Za-z0-9_-]+)/?$ download.php?index=$1 [NC,L]
- RewriteRule ^videos videos.php [NC,L]
- AddType application/octet-stream mp3
- RewriteCond %{HTTPS} =on
- RewriteRule ^(.*)$ http://www.music.lk/$1 [R=301,L]
- RewriteCond %{HTTP_HOST} !^www. [NC]
- RewriteCond %{HTTP_HOST} ^[^.]+.[^.]+$
- RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement