WordPress.org

Ready to get started?Download WordPress

Forums

Cannot access wp-admin after I attempted to change URL (4 posts)

  1. jtracy89
    Member
    Posted 2 years ago #

    my url was originally wehatewaste.net

    I attempted to change it to http://www.wehatetowaste.com

    Neither urls are allowing me to access the wp-admin.

    I redirected the urls using my hosting service's myphpadmin, which did not work, and then I redirected through the wordpress dashboard through settings > general > and changed the wordpress address to http://www.wehatetowaste.com but kept the site address as http://wehatewaste.net

    I have spent all day trying to manually change the files back to wehatewaste.net so that I can access my dashboard again.

    I have updated the code in various files and nothing is working - I have tried updating wp-login.php to say
    //FIXME: do comment/remove these hack lines. (once the database is updated)
    update_option('siteurl', 'wehatewaste.net' );
    update_option('home', 'wehatewaste.net' );

    I updated wp-config.php to say
    <?php
    update_option('siteurl','http://wehatewaste.net');
    update_option('home','http://wehatewaste.net');

    I created sitereset.php following these instructions http://www.allancollins.net/200/wordpress-reset-reset-the-site-url/

    NOTE: I am using the theme YOKO but installed it through wordpress, not manually on my computer. I am using filezilla to access my files, and I am unable to locate the active theme. Therefore, I was not able to update the functions.php file. I attempted to update the default 2011 functions.php, but it did nothing.

    Please help me to access my dashboard.

  2. esmi
    Forum Moderator
    Posted 2 years ago #

  3. jtracy89
    Member
    Posted 2 years ago #

    Yes, I already followed all of the instructions, it didn't work. Any other ideas? Thanks for your response.

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    I'm sorry but that page contains the only solutions. I can only suggest that you reverse all of your previous changes and start again - this time referencing that page.

Topic Closed

This topic has been closed to new replies.

About this Topic