• GoDaddy Community
  • VPS & Dedicated Servers
  • VPS & Dedicated Servers

    cancel
    Showing results for 
    Show  only  | Search instead for 
    Did you mean: 

    Issues gaining access to wordpress admin panel/site in general

    My issue is this, my wordpress site is currently unaccessible at the moment. I recently obtained an SSL, and in the process of trying to figure out how to apply it, I was tinkering in settings and set the main domain to https://www.mywebsite.com instead of http://www.mywebsite.com and now I get a 404 or error page no matter the directory of my site I try and visit including the control panel to revert this change. So I'm kind of in the dark as to how to revert this change if I have absolutely no access or control to my website.

    2 REPLIES 2
    Advocate V Advocate V
    Advocate V

    You'll need to go into the database directly and edit the wp_options table.  Specifically the 'home' and 'siteurl' options.

     

    You can also just run the following SQL command from the SQL tab in phpMyAdmin:

     

    UPDATE wp_options SET option_value = replace(option_value, 'https://www.mywebsite.com', 'http://www.mywebsite.com') WHERE option_name = 'home' OR option_name = 'siteurl';

    You can access phpMyAdmin from your hosting control panel.  Scroll down to the section on databases, and click on the MySQL icon, find the database in the list and click the phpMyAdmin button.  If you need the creds, you can find them in the file wp_config.php in the root (public_html) directory of your site.

    Keep on Coding!
    Mark Cicchetti - There are 10 kinds of people... those who understand binary and those who don't.

    Our site is Wordpress, hosted on godaddy.  Recently approved some plug-in updates which caused both the public pages and the back end (admin) to be inaccessible.  I'm seeing many instructions such as @D3 suggestion here, but all seem to require that I can first see the Wordpress admin/dashboard.  Is there a way through go daddy account to revert to prior settings or otherwise clean/repair to get back to our site?  I'm not sure what phpmyadmin is, or where SQL source is (WP or godaddy)....

     

    On Wordpress forum I find the following, but not sure what to make of it:


    You'll need to go into the database directly and edit the wp_options table.  Specifically the 'home' and 'siteurl' options.

     

    You can also just run the following SQL command from the SQL tab in phpMyAdmin:

     

    UPDATE wp_options SET option_value = replace(option_value, 'https://www.mywebsite.com', 'http://www.mywebsite.com') WHERE option_name = 'home' OR option_name = 'siteurl';

    You can access phpMyAdmin from your hosting control panel.  Scroll down to the section on databases, and click on the MySQL icon, find the database in the list and click the phpMyAdmin button.  If you need the creds, you can find them in the file wp_config.php in the root (public_html) directory of your site.