Something Different In Linux

Home » How to » redirect all URLs to anoter blog URLs

redirect all URLs to anoter blog URLs

Posted by Rishikesh Vispute Categories: How to, htaccess

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 “ to my new domain I have added the following rewrite rules into old blog .htaccess files menas when any one access the URL ” ” redirect to “ ”

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

Note : Replace “” equal to your old blog url


also Replace “” equal to new blog url

9 Responses so far.

  1. Konto says:

    Great layout I think.

  2. I`ve learned so much from your blog! Thank you!

  3. Mohit says:

    Amazing information blog. Thanks for sharing 🙂

  4. I cannot thank you enough for the article.Really thank you! Great

  5. This is such a great resource that you are providing and you give it away for free. I enjoy seeing websites that understand the value of providing a prime resource for free. I truly loved reading your post. Thanks!

  6. I fool read a only one of the articles on your website in the present circumstances, and I definitely like your style of blogging. I added it to my favorites net age file and will be checking stand behind soon. Divert repress out my site as highly and fail me be familiar with what you think. Thanks.

  7. Thanks for the best comments

  8. Great site. A lot of useful information here. I’m sending it to some friends!

Popular Posts

remove index.php fro

How to remove index.php from url in magento Ans : If you ...

PHP-Java bridge on p

  What is php-java bridge? The php-java bridge is the php ...

Set expiration for y

If you want to set the expiration to your site ...

Warning: Parameter 1

Error: Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a ...

domain pointing to e

If you domain uses external MX record and it is ...