• Hi I need help I messed something up and now can’t seem to fix it.

    I was trying to follow instructions for Giving WordPress It’s Own Directory: Using a pre-existing subdirectory install. I had the website running from a subdirectory and wanted to point the root at it.

    I copied the .htaccess file as directed and the index.php file but what I think I did wrong was when changing the URI in the admin panel settings I also changed the WordPress address to the root address. I think I was meant to leave that. Now it wont let me log into the admin to change it. I’ve even tried adding the wp-login.php file:

    //FIXME: do comment/remove these hack lines. (once the database is updated)
    update_option(‘siteurl’, ‘https://your.domain.name/the/path’ );
    update_option(‘home’, ‘https://your.domain.name/the/path’ );

    But nothing is working.

    Any suggestions?

    Thanks heaps!!!

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Messed up when Moving Site To New Directory’ is closed to new replies.