WordPress.org

Ready to get started?Download WordPress

Forums

Issues with - Using a pre-existing subdirectory install (2 posts)

  1. kmoyse
    Member
    Posted 2 years ago #

    I am just trying to point the root directory to my wordpress folder and now I can not log in.

    I followed the instructions to Using a pre-existing subdirectory install, here
    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    When I tried to log back in at step 7 it redirects and give me Not Found error.

    I then tried (below) to force the URL back when I login, it justs reloads the login page when I put in the username and password.

    Edit wp-config.php
    It is possible to set the site URL manually in the wp-config.php file.

    Add these two lines to your wp-config.php, where "example.com" is the correct location of your site.

    define('WP_HOME','http://example.com');
    define('WP_SITEURL','http://example.com');

  2. ncvjensen
    Member
    Posted 2 years ago #

    I have the same problem. And now I moved my old site into a new subdirectory blog.com/oldsub and done to config.php what you write. But it only allows my access to the loginpage and not the dashboard...

    I can also view the old page without any problem, the only problem is how to get access to the dashboard.

    Hope you're able to help me.

Topic Closed

This topic has been closed to new replies.

About this Topic