• I just launched a redesigned website that was done on a separate server from the original site. I’m not moving the new WordPress site, it’s staying on the new server. My problem is this: the homepage address is correct, but the interior pages begin with the test server address. For example, I want it to say “name.com/about” but it currently says “name.testname.com/about”. In Settings, I can change the WordPress URL or the Site URL. Do I change one of these? Both?

Viewing 6 replies - 1 through 6 (of 6 total)
  • That means you have not changed the old URLs in the MySQL database. You can do so with a search and replace function.

    Backup your database first.

    Thread Starter LisaM17

    (@lisam17)

    It’s not as simple as changing the options in WordPress Settings? Both the WordPress Address and the Site Address show “name.testname.com”. Do either of those need to be changed first?

    Can you walk me through how to change the MySQL database?

    Thanks,
    Lisa

    Can you download and re-upload the database? Are you comfortable working with phpMyAdmin? Do you have a local WordPress installation on a local server like WAMP?

    If your answers are NO, it is better to do some homework and then proceed. I am waiting for your reply.

    Both the WordPress Address and the Site Address show “name.testname.com”. Do either of those need to be changed first?

    Yes, they need to be changed first to your current URLs.

    Thread Starter LisaM17

    (@lisam17)

    The site is on a remote server, no local install.

    I have used phpMyAdmin, but not in quite some time.

    Can I make changes to the MySQL datatabase through cPanel?

    In trying to find an answer to this, I read something about changing the wordpress url and being blocked from the dashboard. The site is now live and I am worried that I’m going to mess it up, as you can tell.

    Thank you for your help.

    There are a few ways of doing that like:
    1. You can do a search and replace by opening the database using phpMyAdmin on the live server. If you are not comfortable with that don’t do it.
    2. You can download the database, open in a plain text editor like Notepad or Wordpad and replace all old URLs with the new ones.
    3. Download and install your site to a local server, edit, make it working and re-upload again after changing URLs.

    I am not sure which suits you.

    Whatever you may try, keep backups so that you can always restore.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Test server URL showing’ is closed to new replies.