• Hi,

    i’ve accidentally edited the Home and Site URL and removed ‘.au’

    And now i can’t access the site or admin dashboard to edit this.

    How can a resolve this?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Do you still have access to the server backend from an FTP-client?

    If so,

    You can hard-code your domains within your “wp-config.php” file like in this tutorial:

    Changing The Site URL

    This should override whatever you have changed in the database, as the wp-config file’s constants are defined first, before any values are read from the database.

    I generally prefer to hard-code my site’s domains within the wp-config file anyway, as this helps prevent just the sort of mishaps like you have described, AND this also provides a certain level of hacking protection as well as a bit of a loading speed improvement.

    – Jim

    Thread Starter alai1208

    (@alai1208)

    https://events.theblackdot.com.au/wp-admin

    This is where i usually make changes, but i can no longer access it.

    I’m no expert, as this was set up by a designer previously.

    I don’t know how to access wp-config.php

    Either the wp-config.php will exist in the same folder that WordPress was installed to, or it may be located one level above your install folder.

    If you have access to the server backend by use of an FTP client (“File Transfer Protocol” client), once logged into your FTP session, you can navigate to find the wp-config.php – and then select to “edit” it as a text file downloaded to your local computer. Once you have added the two lines I mentioned, simply save it – and then upload it to replace the original file on the server.

    The only other means I could help, is if you had access to any kind of database manager (like PHPMyAdmin, for example) on the server your website is hosted on. Then here is where you would find the entries for your site’s urls – and make the changes to the contents of those database fields.

    If this is your website, or you have the authority or responsibility to access the “control panel” features of the server (IE: Being able to log into the server backend control panel), then here is where you will need to access the database manager, so that you can make the corrections in the database records.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘URL error – can’t access admin dashboard’ is closed to new replies.