Sub-domain to root redirect–A small problem
-
I have moved my blog from sub-domain to root
previously it was
http://gagankalra.totalbarmy.org
and now it isI have changed my .htaccess file and append the following code at the top
# SubDomains RewriteCond %{HTTP_HOST} ^gagankalra.totalbarmy.org [OR] RewriteCond %{HTTP_HOST} ^www.gagankalra.totalbarmy.org RewriteRule ^(.*)$ http://totalbarmy.org/$1 [R=301,L]Following redirects work with this
http://gagankalra.totalbarmy.org/post_title to http://totalbarmy.org/post_titleBut the problem comes at the home page
i.e.
http://gagankalra.totalbarmy.org is getting transferred to
http://totalbarmy.org/gagankalra
which of course doesn’t exist.
The desired result is http://totalbarmy.orgPlease any suggestions, urgently required..Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Sub-domain to root redirect–A small problem’ is closed to new replies.