• I ran into a problem with the latest version of WordPress that I have never seen before.
    1. I always take the files out of the wordpress directory and upload them to root.
    2. When the database wasn’t set up, WordPress reacted correctly
    3. After the database was set up, WordPress reacted correctly in loading the page that asks for the database information.
    4. Then things went crazy. WordPress kept redirecting every file request to a wordpress directory, even though there was no hint of a WordPress directory on the server.
    5. I moved the files into a wordpress directory and it loaded the next screen, asking for the site name, etc.
    6. Now it’s trying to find files in /wordpress/wordpress.
    7. There is a redirect problem there somewhere.

Viewing 3 replies - 1 through 3 (of 3 total)
  • add this to you wp-config.php. Once you are able to get into your admin panel you should goto settings -> general and enter the correct URL’s there. Then remove these lines form wp-config.php once you have it working 🙂

    // address to access website via browser
    define('WP_HOME','http://example.com');
    //address where WordPress is on server
    define('WP_SITEURL','http://example.com');

    Be sure to replace example.com w your site and home address 🙂

    Thread Starter Nora McDougall

    (@nora-mcdougall)

    Thanks, Keith! That’s good to know!

    I find it weird that this error happened, as there never was a /wordpress uploaded to the server. Near as I can tell all the references to the site in the core are to /

    I will be watching to see if this happens again in a later install. This happened on GoDaddy. I don’t like the database names the 1-Click creates; so, I usually install from scratch.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Redirecting to subdirectory’ is closed to new replies.