Recently i came across redirecting one of my website to another, it was a wordpress blog dead a little while ago because i was so busy with my studies that blog was a tech blog also and it was’t having any permanent readers because it was only 4 months old so i thought about to make a new blog from scratch, last month that blog turned PR1 and was having 100-200 (or sometimes more) traffic per day.
Now the real greediness started i thought i should be having that traffic on techeisouls reason TS is updated and live blog, i googled around and found many ways to do this some ways were tricky and needed sometime in it but i knew there is a simplest way around and finally found out that i can do this by .htaccess 301 redirect with only and only one command.
Now to the point following code is what you should put into your .htaccess file which you can find on your website or blog root. (example techiesouls .htaccess file is in directory where its main index.php is) just edit your .htaccess file with notepad or edit it with your online file manager.
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.your-website-link.com/$1 [R=301,L]
As for example i’ll show you by putting my old website link to demonstrate.
www.Stylusouls.com < this link will turn you back to TechieSouls
with this easiest way all your posts and pages will also be redirected to your new website so you don’t loose even one hit. for example every StyluSouls url will be redirected to TechieSouls main page.
http://www.stylusouls.com/contact/
http://www.stylusouls.com/category/tips-tricks/
If you are going to use this trick with your wordpress blog then you might want to know how to put the code in your wordpress .htaccess file see the following code for refrence.
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.techiesouls.com/$1 [R=301,L]










BlogsDNA
July 10th, 2008
Only one big problem is Google has stoped passing Pagerank with 301 and 302 redirection, my blog had PR 2 but that didnt passed to my new blog also you will lose SERP.