Redirecting Wordpress Site to new domain name - 301 redirect question

by 3 replies
5
I'm moving a site built on WordPress to a new domain name and new hosting.

I've moved the site ok using BackUp Buddy so the site at the new URL looks exactly like the old site. The problem I'm having is with the 301 redirect.

The old URL has over 100 blog posts and some extra pages. What's the best way to redirect everything so the posts redirect to the correct post, pages to the correct page etc? It's still sitting in the old hosting account, live.

I've tried using the Redirection plugin, but can only get it to re-direct the main domain to the new domain i.e. olddomain.com goes to NewDomain.com. If I enter any URLs i.e. olddomain.com/about, it doesn't redirect and goes to that page on the old site.

I'm sure there's a simple way to do this that I'm not seeing. Can anyone let me know what the secret is - I'm getting brain dead from looking at this for too long today!

Thanks
#website design #301 #domain #question #redirect #redirecting #site #wordpress
  • Hello

    The best way would be to change the htaccess file and tell all the old pages to forward to the new page or post on the new domain.

    Take a look at the page should explain let me know otherwise see if I can help.

    How to Redirect a Web Page Using a 301 Redirect

    Harry

    PS backup buddy rocks
    • [ 1 ] Thanks
    • [1] reply
    • Harry,

      Thanks for the response. I agree - the best way is to avoid using the plugin and change the htaccess file direct. I've just done that and it works. Should have been brave and done it right at the start and saved myself a few hours of pain!

      Glad you also love Backup Buddy. It's made life a lot simpler.
  • No trouble, I think all the ithemes products at top of the range. Glad it's all working.

    Cheers

Next Topics on Trending Feed