WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. artguy
    Member
    Posted 12 months 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
    Member
    Posted 12 months 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
    Member
    Posted 12 months 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
    Member
    Posted 12 months 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
    Member
    Posted 12 months 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!

Reply

You must log in to post.

About this Topic