WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] move old blog to a new site domain and folder (9 posts)

  1. walkinman
    Member
    Posted 2 years ago #

    Hey Folks,

    I'm renaming my site, with a brand new domain and website setup. I'd like to move the blog ( which is not the entire site, just the blog part) from my current site to the new site, but with a couple of 'issues':

    I (THINK I) want to rename the wordpress folder for the new site. Will this be an issue getting all the material (3-4 years worth) to sync?

    From what I understand, renaming the database prefixes etc in a new setup is a good security measure, so I'd like to do this. Will this cause me all kinds of grief in moving the blog over to the new site?

    I'm aiming to phase the new site in and the old site out, so as not to lose too much search engine juice along the way. I'm not sure if I move the blog over and have it installed on both domains (both are addon domains on my main lunarpages account) whether that'll cause the server any issues, etc?

    Should I move the whole w/p section all at once? Or can I set up a new w/p folder on the new site, build a bunch of pages for it, then when I'm ready to move the blog from the old one, just somehow extract the blog posts and dump them onto the new site's w/d folder?

    Am I foolin' myself that I can do all this? :)

    Thanks so much.

    Cheers

    Carl

  2. Tim S
    Member
    Posted 2 years ago #

    Hi Carl,

    You certainly can do this. I'd suggest, setting up WordPress and moving all the content prior to developing. If you're worries about search engines, I'd suggest using 301 re-directs to point old pages to the new site. Google will pass the PR on to the new page. What you dont want is 404 errors, as they will hurt you.

    Here's a tutorial on moving wordpress. I hope this helps!

  3. walkinman
    Member
    Posted 2 years ago #

    Hey Tim S

    Thanks so much. I'm reading over those tutorials now.

    I guess one question w/ 301s is whether to just do a redirect at the root directory, so any incoming hits/links, etc are turned str8 towards the homepage of the new site, or, for example, somehow do 301s on individual pages that redirect towards the specific equivalent page on the new site. How to do that with a blog I have no idea.

    If I'm not ready to move the wordpress part over yet, I suppose I can build the new 'pages' on the existing site, as they aren't really linked to from anywhere, and then they'll be in place when I move everything over.

    I'll probably have to talk to lunarpages to help with some of it.

    Any word on how much more work it creates if I make the new wordpress folder a different name to the current one, and whether changing the database prefix names will cause a headache?

    Thank you.

    Cheers

    Carl

  4. Tim S
    Member
    Posted 2 years ago #

    Well, you want the 301 redirects to point from a specific page to another specific page. If you change the database you'll have to update your config file, but it should not cause any issues. I would for safe measure backup up your files and database prior to making changes.

  5. walkinman
    Member
    Posted 2 years ago #

    Hey Tim S

    Thanks.

    Yes, I'll definitely back everything up.

    In that case I'll change the database name, for sure, thanks.

    How is it possible to redirect each specific page of a dynamic section, like a blog, and particularly so w/ changing the folder name, etc?

    Thank you.

    Cheers

    Carl

  6. Tim S
    Member
    Posted 2 years ago #

    Even though each page/ post is created dynamically, it still has a specific URL. Set up permalinks in your dashboard, and then use the links to the pages to create the 301 redirects.

  7. walkinman
    Member
    Posted 2 years ago #

    Hey Tim S

    Thanks again. I have permalinks set up; here's the blog: http://www.alaskanalpinetreks.com/ramlbings/

    So I write the 301 redirects in the htaccess file, correct?

    That blog is several years old. Is there some kind of automated way to redirect every page rather than have to manually do that? I've never done anything like that before, so I'm pretty lost. I really appreciate your time.

    Thank you.

    Cheers

    Carl

  8. Tim S
    Member
    Posted 2 years ago #

    Hi Carl,

    Thanks for getting back to me. You are correct re-directs are set up and controlled through your .htaccess file. There's no quick and easy way to set up the 301's and you wouldn't want it either. You want to make sure the pages are redirected to the appropriate pages that have similar content. I hope this helps! 301's are a lot of work, but can be a life saver when it comes to saving Page Rank when setting up a new site.

  9. walkinman
    Member
    Posted 2 years ago #

    hey TIm S

    Ahh, no sir, thank you for getting back to me!

    Yes, I've written only a couple of 301's and just put them in the header of the old page (/index.html) to go to a replacement page (/eagle-photo.html) that kind of thing. So I'd forgotten about the .htaccess file. That makes sense, thank you.

    There's probably some kind of script that could do this, isn't there?

    In the meantime, I'll mark this thread 'resolved'.

    Thank you.

    Cheers

    Carl

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.