Support » Fixing WordPress » Migrate to another server

  • smssb

    (@smssb)


    Hi,

    I would like to migrate from the website.com/blog to website.com.
    The migration will be from one server to another server.
    May i know the best method to perform the migration?
    My concern is the links for website.com/blog will need to be changed to website.com during the migration. Please advise.

Viewing 2 replies - 1 through 2 (of 2 total)
  • JNashHawkins

    (@jnashhawkins)

    I’d probably move the whole thing ‘as is’ exactly. Get it working ‘as is’ then use these instructions to run the WordPress from that Blog directory as if it was installed in the webroot.

    https://wordpress.org/support/article/giving-wordpress-its-own-directory/

    Read over the document a couple times while remembering your WordPress is already in a ‘directory of its own’ if it’s installed in the ‘blog directory’ so you won’t need to deal with moving everything except the two files mentioned in the article.

    As a bonus to doing this in this manner, you’ll have everything needed to ‘redo from start’ with the migration as needed and you’ll have left behind a working WordPress on the old server if you need to revert the DNS changes from the server change to recover that way.

    You’ll also have two hosts to help you depending on which way you need to revert things if necessary and you have us here as a failsafe if you need more help.

    When you are done moving things and it all works as you wish you probably should install the Broken Link Checker plugin just to help double-check your work.

    https://wordpress.org/plugins/broken-link-checker/

    I usually install this plugin early on in the life of my sites. As configured from the start it will take about 3 days to traverse your site the first time but it is fairly quick to find any problems. I usually throttle it back after the initial three days to about 480 hours so it doesn’t become a big resource hog as your site grows.

    Hope this helps.

    smssb

    (@smssb)

    Hi jnashhawkins,
    Thank for the reply.
    Is it possible to migrate it to become website.com from website.com/blog/?
    Please advise.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.