• Resolved vrijwilliger

    (@vrijwilliger)


    Hi,

    I changed the links in settings from /mydomain/mysite to /mydomain/.

    Now my site shows as a set of broken HTML pages (without any styles etc applied). Worse, I can not access my dashboard anymore, so I cannot change back to the old situation. This happened to me before and I had to redo everything, a daunting task.

    I make a backup every morning and every afternoon. But putting the files back did not solve the problem.

    I hope someone can help me with repairing the problem. Unfortunately I’m no good at PHP or MySQL.

Viewing 5 replies - 1 through 5 (of 5 total)
  • To fix this you will need to access the WordPress options table (probably called wp_options) of your site’s MySQL database. Many hosts let you do this via phpMyAdmin.

    Once you have access you will need to change the “siteurl” and “home” records to the previous working URL. Make sure you don’t include a trailing slash ( https://example.com NOT https://example.com/ ).

    That should restore the site to the previous URL. To then move the site you can follow https://codex.www.ads-software.com/Moving_WordPress

    Thread Starter vrijwilliger

    (@vrijwilliger)

    Thanks. I will contact the host. Will post the result once I’ve accessed the MySQL database.

    Thread Starter vrijwilliger

    (@vrijwilliger)

    It worked! You saved my life! Thanks, thanks, thanks, I am extremely relieved to not have to do a ton of work again.

    PS: everything went exactly as you specified. PHPadmin, options, siteurl. The only difference was that wp_options does not contain a home entry. But as I was able to access the dashboard, I simly changed it back and thus had my site back in full glory.

    Alwyn Botha

    (@123milliseconds)

    Please mark thread as resolved so that

    – others with similar problem can see it as resolved and will read this thread for help if they have similar problem

    – people providing help see it as resolved and will not waste time reading this post.

    Thread Starter vrijwilliger

    (@vrijwilliger)

    Thread resolved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Site not showing after change in settings’ is closed to new replies.