Having issues redirecting subdirectory to domain
View Single Post
08-18-2012, 01:45 AM
Join Date: Feb 2009
Thanked 63 Times in 54 Posts
RewriteRule ^blog(.*) http://xyz.com$1 [R=301,L]
You'll need the R=301 to force a full browser reload to the new URL, or edit xyz.com to use relative URLs for the stylesheet (and everything else).
:: Design, Development & Hosting
:: Technical blog
Users who have thanked Lamped for this post:
View Public Profile
Visit Lamped's homepage!
Find More Posts by Lamped