Redirecting Pages Which Are Already Indexed In Search Engines

1 replies
I have a wordpress based website which is indexed in the search engine like:

http://niche-blog.MainKeyword.com/Cat1/Page1.php

I recently changed the subdomain to only "niche", so the above link would look like:

http://niche.MainKeyword.com/Cat1/Page1.php

Now since the site is indexed in search engines using the "niche-blog" version, is there any way to redirect all that traffic to the new version. That is:

http://niche-blog.MainKeyword.com/Cat1/Page1.php should redirect to http://niche.MainKeyword.com/Cat1/Page1.php

Thanks in advance
Bhupinder
#301 redirect #engines #indexed #pages #redirecting #search #site transfer
  • Profile picture of the author leiden
    Try placing this in your .htaccess file:

    Code:
    Options +FollowSymLinks
    RewriteEngine on
    RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]
    {{ DiscussionBoard.errors[3039568].message }}

Trending Topics