How to redirect from one blog URL to another blog URL

The hosting has many measures through which cPanel hosting are counted as best to host any website because of its Operating system level security features and functionality. For an administrative control over every directory of a hosting resources on the web server a file called .htacess has some permission and this file also called as distributed configuration file provide a way to make configuration changes on a per-directory basis. A file, containing one or more rules is placed in a particular document directory, and the directives apply to that directory, and all sub directories thereof. If you want to redirect all the URLs  from one blog to another blog URLs then add the following rewrite rules in .htaccess files.

For Example :
If we redirect an old blog from “ to new domain You just have to add the following rewrite rules into old blog .htaccess files means when any one access the URL ” will automatically redirected to“ ”.

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_HOST} ^
RewriteRule ^(.*)$$1 [R=301,L]
RewriteRule  ^$ [L]
RewriteRule (.*)$1 [L]

Please take a Note of this : Replace “” equal to your old blog url and also Replace “” equal to new blog url.

Powered by BetterDocs