• Hello All,

    I can no longer access my dashboard in WordPress.

    The login page is no longer the same as what it used to be, looks like an old style login page.
    Yet I can still enter all the credentials but I end up with a message the page is not working etc etc.

    my website also looks rather messy now, in fact it is hardly functional compared to what it was…

    when I had access to my dashboard, I was at the time trying to fix a blank page problem due to a faulty plugin. In trying to fix it I messed up a line in the dashboard settings.
    I matched the URL setting in WP and my site. After which all went bad.
    I recall deleting the wordpress line after my web URL.

    Anyway now I can’t access the dashboard at all via the regular login wordpress page.

    I assume I need to get into my cpanel but I am not very literate with this at all…

    Any help would be appreciated.

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

    It sounds like you will need to restore the site/home urls for your site. Since you say you can’t log into the dashboard anymore, what you will need to do is go into cPanel and find the “File Manager” (https://phpmatters.com/wp-content/uploads/2014/05/cpanel-file-manager.jpg), or use FTP to connect to your site’s server.

    Quick disclaimer: Please make sure to make a backup of the file I’m going to ask you to change first before doing anything. A mistake could break your site even further. Also, it’s okay if you’re not too comfortable doing this. If you have any developer friends, you can ask them to do it for you. Alternatively, depending on where you’re hosted, you may be able to ask your host for help with this as well.

    Anyway, with the File Manager (or FTP program), you will want to navigate to your theme folder and find the functions.php file. I am not entirely sure what the folder structure of your hosting is like, but usually you would go into the ‘public_html’ folder, then the ‘wp-content’ folder, then the ‘themes’ folder, and then finally the folder for the theme that you’re using.

    Open up the functions.php file and add the following two lines to the bottom of the file. Do note, if the file ends with ?>, you will want to make sure to place these two lines on a line above that. Also, make sure to update https://example.com to the actual domain of your website:

    update_option( 'siteurl', 'https://example.com' );
    update_option( 'home', 'https://example.com' );

    Save the file and try logging into the dashboard (it may take a few refreshes before everything is back to normal). If that worked, you will want to remove those two lines you’ve just added to the functions.php file.

    Thread Starter arnaud1373

    (@arnaud1373)

    Jeffrey I will try and see what I can come up with considering my little knowledge… Thank you

    Thread Starter arnaud1373

    (@arnaud1373)

    Jeffrey I have done so and still no results… I have refreshed and reloaded the page, Chrome etc… I can’t figure this out. Is there a way I can send you further details maybe?
    I certainly do not want to abuse of your time either.
    Thank you

    It’s okay, any time I spend here is voluntary. ??

    Could you post a link to the site? I can take a look and see what I can figure out from there.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘I can't access my dashboard in Worpress’ is closed to new replies.