• Hi.

    How can I migrate an existing wordpress to another existing wordpress, both in the same parent domain, but still maintaining the SAME permalink of all the migrated pages/posts?

    Example:

    Wordpress site A:
    http://www.abc.com/

    Wordpress site B:
    http://www.abc.com/cat

    After migrating B to A, all the permalink pages/posts of previous site B will maintain to be the same after it has migrated to site A.

    Example if site B previously has a page of permalink:
    http://www.abc.com/cat/how-to-feed-cat

    After migrate to site A, the page above will still have the same permalink on site A, ie: http://www.abc.com/cat/how-to-feed-cat

    I’ve tried methods likes create a category called “cat” on site A, then parking that page “how-to-feed-cat” under category “cat” etc, the URL does shows eventually shows as “www.abc.com/cat/how-to-feed-cat” on Site A wordpress editor, however the live link doesn’t really work. ie I deleted this page (www.abc.com/cat/how-to-feed-cat) on site B, to ensure no conflict, and ensure that page (www.abc.com/cat/how-to-feed-cat) on exist on site A, it still does not work. Shows as page not found on live URL

    Any help is much appreciated.

    Thanks.

    • This topic was modified 5 years, 9 months ago by Jan Dembowski.
Viewing 1 replies (of 1 total)
  • Hello

    About “How can I migrate an existing WordPress to another existing WordPress, both in the same parent domain, but still maintaining the SAME permalink of all the migrated pages/posts?”

    If you are doing this to create a staging site it would be good to use the softaculous “create stagging” button, it comes with a “push to live” button to make it even simpler and have a choice to select the domain from the ones registered at your account or as in your case, same domain but using another subdirectory.

    If you are running a personal project and you want exactly what you say, you can set custom permalinks at settings, permalinks, custom structure, alas this will only affect the post permalinks.

    In order change the pages permalinks use this plugin “Permalink Manager Lite”, look for it at the dashboard, plugin, add new.

    If you choose the same name of a populated directory and you enter the address in a browser the files inside that directory will have priority over the ones at the starting web site and the page will be loaded setting all the links like the home page to the ones at the directory; if the files at the directory are moved, then the ones at the site with the edited permalinks will work as they should; the things get more complex if you choose to have the same dashboard users names and passwords at both sites.

    Enjoy your test.

    I hope this can be of use to you.
    If you need more details or advice post again.
    Best regards.

Viewing 1 replies (of 1 total)

The topic ‘Migrate wordpress from same domain’ is closed to new replies.