WordPress.org

Support

Support » How-To and Troubleshooting » Issues with – Using a pre-existing subdirectory install

Issues with – Using a pre-existing subdirectory install

  • 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’);

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘Issues with – Using a pre-existing subdirectory install’ is closed to new replies.
Skip to toolbar