Ready to get started?Download WordPress


[resolved] HELP!!!!!!! I can't log into wp-admin! Broken site :( (10 posts)

  1. Running Bum
    Posted 4 years ago #

    I was just messing with the settings in the admin and changed my URL from runningbums.com to runningbums.com/test because I thought it would hide my site while I update stuff and don't want it public.

    Now I can't log into my admin to change it back!!! :(((

    I've tried runningbums.com/wp-admin, runningbums.com/test/wp-admin ... etc.

    and it just goes to my broken site.

    How do I get back to admin so I can change back my URL?????

  2. alkafy
    Posted 4 years ago #

    Try placing:
    <?php update_option('siteurl','http://www.runningbums.com'; ?>
    in your theme's functions.php.

  3. Running Bum
    Posted 4 years ago #

    Thanks. But how to do I get to my theme's functions.php when i can't access the admin page?

  4. Hippyer
    Posted 4 years ago #

    you should be able to access functions.php from your hosts ftp server. Download this and edit as alkafy suggests.

  5. Running Bum
    Posted 4 years ago #

    Okay, it looks like I can access functions.php from Bluehost and FileZilla.

    But in functions.php I don't see any text relating to the siteURL.

    I was expecting to see something like 'http://www.runningbums.com/test';

    and I could just remove the "test" part. But I don't see this.

    Or where do I place this text?
    <?php update_option('siteurl','http://www.runningbums.com'; ?>

    (I'm using the atahualpa theme, maybe this helps)

    Thanks for all for your help!! I am so torn up rightnow :(

  6. Running Bum
    Posted 4 years ago #

    Ipstenu, do you know where the wp-config.php file is located? Is it under the theme folder or somewhere else? thanks.

  7. Running Bum
    Posted 4 years ago #

    I GOT IT!!

    (never mind about the wp-config.php file)

    I just put it in Functions.php like Alkafy and Ipstenu said.


    Thanks SO MUCH... i can breath easy now.

  8. wp-config is (for later reference) in your 'root' wordpress directory.

    You know /public_html/wordpress/wp-content/themes/themename/functions.php right?

    So go backwards to /public_html/wordpress/ and there's your wp-config.php file :)

    Adjust as needed by your server setup.

  9. menumonk
    Posted 4 years ago #

    Thank you guys. I had the same problem with my site at http://www.menumonk.com where I changed both WordPress address (URL) Blog address (URL). Now I know to just change the Blog address URL since I'm having to forward it with masking.

Topic Closed

This topic has been closed to new replies.

About this Topic