Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RewriteEngine on
- RewriteBase /
- #if not already blog.website.com
- RewriteCond %{HTTP_HOST} !^blog.website.com$ [NC]
- #if request is for blog/, go to blog.website.com
- RewriteRule ^blog/$ http://blog.website.com [L,NC,R=301]
- RedirectMatch ^/subdomain/(.*)$ http://subdomain.mysite.com/$1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement