Redirect All URLs To Anoter Blog URLs

Redirect all URLs to anoter blog URLs

If you want to redirect all the URLs from one blog to another blog URLs then add the following rewrite rules in .htaccess files.

Example :

I have redirected my old blog from “http://www.bestdesigns.co.in/blog to my new domain https://dollar1hosts.com. I have added the following rewrite rules into old blog .htaccess files menas when any one access the URL ” http://www.bestdesigns.co.in/blog/anything ” redirect to“https://dollar1hosts.com/anything ”

<IFMODULE MOD_REWRITE.C>
REWRITEENGINE ON
REWRITECOND %{HTTP_HOST} ^BESTDESIGNS\.CO.IN\BLOG
REWRITERULE ^(.*)$ HTTP://WWW.BESTDESIGNS.CO.IN/BLOG$1 [R=301,L]
REWRITERULE ^$ HTTP://WWW.INDIANWEBPORTAL.COM/ [L]
REWRITERULE (.*) HTTP://WWW.INDIANWEBPORTAL.COM/$1 [L]
</IFMODULE>

Note : Replace “bestdesigns.co.in/blog” equal to your old blog url

And

also Replace “www.dollar1hosts.com” equal to new blog url

Add a Comment

Your email address will not be published. Required fields are marked *