WordPress.org

Ready to get started?Download WordPress

Forums

Can't login and site has redirect loop error (1 post)

  1. amandadee1
    Member
    Posted 5 months ago #

    I screwed up and changed the urls on the site I had living in a subfolder on my domain while I was editing it: http://www.dsbcommunications.com/test

    I went to this article: http://codex.wordpress.org/Changing_The_Site_URL after poking around and managed to bring my site back by editing the functions.php file to add these two lines of code:
    define('WP_HOME','http://dsbcommunications.com/test');
    define('WP_SITEURL','http://dsbcommunications.com/test');

    All was fine and good until I realized my login page wasn't working, so I tried every way to reset a password I could find (changing via FTP, using the emergency.php file, using myphpadmin). Then I realized the page was actually just redirecting to itself when I tried to submit the login form which would have nothing to do with the password. I did more searching and took advice to rename my theme to something else and try logging in again, which broke the whole thing (sweet advice). Tried putting the theme name back but I'm pretty sure I did it in for real because it won't work.

    As you can see if you go there now, you'll get a redirect error. I can still get to my login page with this link: http://www.dsbcommunications.com/test/wp-login.php, but filling out the form doesn't do anything.

    Any help is greatly appreciated. Clearly I'm in over my head and I need to fix this asap.

Reply

You must log in to post.

About this Topic