• Resolved StevenBDreamer

    (@stevenbdreamer)


    I recently changed the domain name of my site, and now the site doesn’t load up properly. The theme doesn’t load, and most importantly, I can’t access the wp-admin.

    All the files from the old domain have been moved to the new domain successfully by the hosting service, and I have access to the files using filezilla, but I don’t know what I need to change. I try to understand the steps from https://codex.www.ads-software.com/Moving_WordPress, but the first step is to log in to my blog, which I can’t.

    The new domain is 4yougamers.com .

    Can you please help me?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    I suggest you to follow these steps :
    You certainly have to replace the old site URL by the new one (https://4yougamers.com/) in the a specific table in your database.

    If you know how to access phpMyAdmin on your host, then you can edit these values directly to get you up and running again.

    1. Backup your database and save the copy off-site.
    2. Login to phpMyAdmin.
    3. Click the link to your Databases.
    4. A list of your databases will appear. Choose the one that is your WordPress database.
    5. All the tables in your database will appear on the screen.
    6. From the list, look for wp_options. Note: The table prefix of wp_ may be different if you changed it when installing.
    7. Click on the small icon indicated as Browse.
    8. A screen will open with a list of the fields within the wp_options table.
    9. Under the field option_name, scroll down and look for siteurl.
    10. Click the Edit Field icon which usually is found at the far left at the beginning of the row.
    11. The Edit Field window will appear.
    12. In the input box for option_value, carefully change the URL information to the new address.
    13. Verify this is correct and click Go to save the information.
    14. You should be returned to your wp_options table.
    15. Look for the home field in the table and click Edit Field. Note There are several pages of tables inside wp_options. Look for the > symbol to page through them.
    16. In the input box for option_value, carefully change the URL information to the new address.
    17. Verify this is correct and click Go to save the information.
    Thread Starter StevenBDreamer

    (@stevenbdreamer)

    Yes, it works! Thank you very much for the detailed instructions!

    riversatile,

    Thank you – your instructions helped me also. I’ve learned alot about xampp, thanks to you! Although… I am going to try to never rename a database again, lol!

    ________

    My handy tips to all newbies:

    1) Child Theme. Make one first, before you do anything else. It’ll make Esmi smile. Here’s excellent instructions on how to do so: https://www.wpthemedetector.com/a-wordpress-child-theme-made-easy-and-easier/. *In this case, the author is not kidding. He does make it easy.

    2) When someone says “It’s easy. Do this*.”, back up EVERYTHING before you change ANYTHING. It won’t be that easy, guaranteed!

    3) Nothing worth doing is ever easy*.

    4) Targeted searches in support can be your best friend. That’s how I found THIS solution.

    5) Be nice to everyone. You never know who has that little bit of code you so desperately need…

    Rahminion

    It’ll make Esmi smile.

    Absolutely! ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘I changed the domain name, and now I can't access wp-admin’ is closed to new replies.