homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque

Webmaster General Forum

301 Permanent Redirect On A Blog
Steps involved in redirecting WP self-hosted blogs

5+ Year Member

Msg#: 3864178 posted 11:50 am on Mar 6, 2009 (gmt 0)

I have decided to move my old blog to a new domain using .HTACCESS 301 Permanent redirect. My server is Apache server.

Say for example redirection from www.OldBlog.com to www.NewBlog.com

www.OldBlog.com is self-hosted and www.NewBlog.com is also self-hosted.

These are the steps I am going to take:

1. I buy a new domain.

2. Install WP in the new domain from control panel or download and install.

3. Download a backup of all posts from my old domain by logging in my WP account and "exporting".

4. Now I log in my new domain WP account and upload the backup by "importing".

5. I should see all my posts and comments in the new domain.

6. Write the 301 redirect in the .HTACCESS file in the old domain to point to the new domain.

My questions:

1.Are the steps written above correct?

2.What about the categories? Will the backup itself create the categories OR I need to create categories with the same name before importing the backup in the new blog.

3.Am I missing any other point?

Please help.



5+ Year Member

Msg#: 3864178 posted 10:19 am on Mar 9, 2009 (gmt 0)

Is no one there to answer this?


WebmasterWorld Administrator coopster us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 3864178 posted 3:09 pm on Mar 9, 2009 (gmt 0)

The steps look sound to me. It would be even easier if you had both domains running on the same box. You could then set up a short, simple virtual host container for the old domain which does permanent redirection to any link requests to the new domain. The new domain would then be your *old* virtual host container. Change the appropriate directives, make the necessary mods to your WP install ... you get the point.


WebmasterWorld Senior Member g1smd us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

Msg#: 3864178 posted 8:58 pm on Mar 11, 2009 (gmt 0)

Nothing really to add to the above comments. I concur that having both domains pointing at the same hosting space would simplify things somewhat. In that case, the redirect is absolutely crucial. Make sure you cater for both www and non-www on both.

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved