Accidentally changed my site url "Home" setting (5 posts)

  1. artguy
    Posted 3 years ago #

    I was doing some editing to my WP page under the backdoor admin section and have changed the "home" site url setting by mistake.
    Now my page ""www.artguykevin.com"" does not display my word press theme correctly. It also now doesn't let me login through the backdoor wp-admin method to fix it. I have tried to force it to take me to the log-in.php even and all it does is take me back to my messed up page.

    Please give me some guidance and where to start to fix this. Thanx

  2. akis
    Posted 3 years ago #

    You can change the website url via wp-config.php or functions.php
    Check out http://codex.wordpress.org/Changing_The_Site_URL

  3. artguy
    Posted 3 years ago #

    That's how I got into trouble in the first place. I thought I was entering the correct address in the "home" address

    Nt sure which to use first, wp-config.php or function.php
    And where do I type it into the file?

  4. akis
    Posted 3 years ago #

    You have to use only one, pick the one that is more convenient from you. Editing the functions.php from the theme is better but slightly more complicated.
    If you choose the wp-config version you can add those two lines wherever you want as long as their inside php tags, make sure you replace the url with yours.

  5. artguy
    Posted 3 years ago #

    It worked !!!!...I used the "function.php" method and it brought it back to life. I can also login again through the backdoor.
    I erased the lines of code after it fixed it...is there anything else I should do before I continue with other issues?

    Thank-you for all your help!

Topic Closed

This topic has been closed to new replies.

About this Topic