• I was trying to change the landing page of a site. So I went to ‘settings’ and change the url from sitename.com/main to sitename.com/blog. Afterwards the site no longer works (shows just text links that are all broken), and I am unable to go back to the admin console (sitename.com/main/wp-admin) to revert the setting. Does anyone which file on the ftp site I should modify so that it will be back to the original?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You can revert it back by accessing phpmyadmin’s SQL tab, running the following SQL command:

    update wp_options set option_value = "https://sitename.com/main" where option_name = "siteurl" or option_name = "home";

    Thread Starter wzfoto

    (@wzfoto)

    Ok thanks! That works with option_name=”siteurl”

    You are welcome, glad it solved the issue. Have a nice day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Site and admin login no longer works after changing setting url’ is closed to new replies.