Support » Localhost Installs » Switch URLs

  • Hi, I have two WordPress pages and have access to them through FTP. I now want to change the URL between those two pages, how do I do that? Just edit the config file in both? Thanks for your help! very much appreciated.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @kathigeiger

    Do you mean that you have two separate WordPress sites and want to change the domain name between them? or just two pages inside the same WordPress site?

    The first case will depend on where you have those sites hosted and who provides the domains. In the second case you may be able to change it through the dashboard.

    Thread Starter kathigeiger

    (@kathigeiger)

    Hi @krysal thanks so much for your reply. First case: I have two separate WordPress sites and want to change the domain name between them. They are both hosted on the same server provided by the same host.

    https://shop.maxundmurat.de/

    https://maxundmurat.de/

    @kathigeiger Make a backup before starting (optional but recommended).

    Then, you should:

    1. Change the domain in /wp-admin
    2. Change the domain in wp-config.php

      After that, badly routed assets may remain, you can use a Search and Replace plugin, like this one to find everything that is routed with the old domain and replace it with the new one.

      Optionally, if the site was already on search engines, it may be necessary to add an .htaccess redirect rule.

      Hope this guide helps!

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