Help is required to solve a problem created by a stupid mistake.

Our website is hosted by Godaddy and created with Wordpress. It had been set up and running smoothly for long.

Recently We wanted to keep the website down for some time as we wanted to modify some contents. So with a "brilliant-idea-moment", using wp-admin login, in the dashboard, the landing page name was changed from "mydomain.com" to "mydomain.com/404".

Now we are not able to access the wp-admin login page at all to revert back, as it keeps redirecting it to "mydomain.com/404/wp-admin", a page which does not exist so giving a 500 error message.

Is there anyway, we could change the landing page back to original, through hosting admin or cPanel by editing any specific file?

Your assistance would be highly helpful.


Connect to you Cpanel through godaddy and search for PHPMyadmin. The interface that allow you to manage your database.

Then search for a table called wp_options then in this table you should be able to find the url of the site in two places (siteurl,home) and you should be able to change it back to the domain name.

After this you will be able to access the admin again, then you should go to the permalinks settings and hit save (without doing any changes). This will correct your url rewriting.

  • On following the suggested changes, now I am able to get the site loading correctly and able to access the admin page well. However but for the home page, other pages are still showing 500 error. Is there anything I am missing? Thanks for the timely help. – ASA Oct 12 '17 at 22:07
  • after doing this, go to the permalinks setting in the dashboard and click save, maybe it will solve the issue – Temani Afif Oct 12 '17 at 22:08
  • Yes. that did, in fact, solve the issue. Thanks a ton – ASA Oct 12 '17 at 22:21
  • great, am gonna add it to the answer so it's complete ;) and you can mark it as accepted then – Temani Afif Oct 12 '17 at 22:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.