Viewing 5 replies - 31 through 35 (of 35 total)
  • Hi jumust,

    What about this scenario, would be the simply way to go:

    1. Current url is domain.com/blah/blah/post-name and is located in your root (such as public_html)

    2. Setup wordpress in a subfolder, such as public_html/wordpress, and use the same postname for each post as in the old site in the new

    3. Ask your host to change document root for domain from public_html/ to public_html/wordpress

    4. A user tries to access OLD url domain.com/blah/blah/post-name. WordPress sees this and redirects it to domain.com/category/post-name

    The most important thing is that the “post-name” in the actual url is that same on your old site and your new site.

    If you go this route, you won’t need to setup ANY redirects, as we discussed before wordpress already has this “check” built into the code.

    Done!

    Thread Starter jumust

    (@jumust)

    OK BRAD!!!
    If it works you are the man!

    If anybody has already tried this process please let me know how it goes. Thanks!

    Hi jumust, Because this is going to be a major change to your website, have you thought about installing WordPress and doing some quick testing with my idea? If you have some time, please give it a try and let us know how it goes.

    Yes, I’d really like to know the results as well. I’m especially interested in what effect it has with the current inbound links to the legacy pages. Please let us know.

    Please try this:
    for each of the popular links write in .htaccess file as follows:

    redirect 301 /OldSubdirectoy/old/old.htm https://www.domainname.com/NewSubdirectory/new/new/new.htm

    write in the same structure for all of your popular links to keep SEO.

Viewing 5 replies - 31 through 35 (of 35 total)
  • The topic ‘Move/Migrate old site to WordPress on same domain – how to 301 redirect’ is closed to new replies.