Page is a not externally linkable
- Hardware and OS Related Technologies
-- Website Technology Issues
---- 301 Redirect For Wordpress Site


anand84 - 5:26 pm on Mar 2, 2010 (gmt 0)


Hello everyone

I have a wordpress site at example1.com which I need to move to example2.com/folder1. Since I have a decent traffic on the site, I am quite apprehensive of how to go about it.

I was advised to place the following code in the header

# BEGIN WordPress
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.example1.com
RewriteRule (.*) http://www.example2.com/folder1/$1 [R=301,L]
# END WordPress


But I am not sure if this will suffice. I checked with an example redirection offered on the site. While it works beautifully, I also noticed that the two sites show separately on alexa.com (If I am not wrong 301 redirected websites redirect on alexa too).

I am kind of confused. Can you help?

Thanks

[edited by: bill at 8:23 am (utc) on Mar 4, 2010]
[edit reason] de-link example [/edit]


Thread source:: http://www.webmasterworld.com/website_technology/4090110.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com