Forums

[resolved] Changed WordPress URL in Dashboard, now unable to log in (5 posts)

  1. aaro
    Member
    Posted 2 years ago #

    I changed the WordPress URL in the dashboard of my site, and as a result, I am no longer able to log in. The URL was formerly aarography.com/blog; I changed it to aarography.com. Now when I go to http://aarography.com/blog/wp-login.php, I can't get past the login page (it goes to a "Not Found" page after I enter the user name and password, and http://aarography.com/wp-login.php does not exist.

    How does WordPress handle the change in URLs? I thought it would be simple; now I'm stuck. Please advise.

  2. whooami
    Member
    Posted 2 years ago #

  3. MichaelH
    Volunteer
    Posted 2 years ago #

    After fixing you blog, if you want to make WordPress available at http://mydomain.com just change in Settings->General, the Blog address (URL) to http://mydomain.com and put this index.php file in your web-root folder (it is the same folder that contains the blog folder)

    <?php
    /* Short and sweet */
    define('WP_USE_THEMES', true);
    require('./blog/wp-blog-header.php');
    ?>

    Then update your permalinks in Settings->Permalinks.

  4. aaro
    Member
    Posted 2 years ago #

    Thanks, you guys rock. The third method at http://codex.wordpress.org/Changing_The_Site_URL restored access to my wordpress account. I'll use the above code to set it up properly this time. Thanks again!

  5. Thunderray
    Member
    Posted 2 years ago #

    Hi Aaro,
    How did you managed to solve this. Because I had the similar problem where I've changed the url and suddenly all my file become a "pale" html wording with nothing for me to edit (and no Dashboard everything).

    Please help me with your "The third method" if possible. Many thanks..
    by the way here is my site for you to look at http://coachingtraveltrade.com/wordpress/

    best regards,

Topic Closed

This topic has been closed to new replies.

About this Topic