• Resolved Hendy

    (@hendy)


    I can’t seem to reverse this mistake and I need to manually change to where it points the installation to. I have deleted and re-uploaded the wordpress files and now have them residing in a /wordpress/ directory as opposed to the root directory. The old database that I have posts is still trying to append http://www.url.com/index.php/page-subdirectory/ in between the proper URL and the page or post names.

    How do I go about manually telling it where to look for the WordPress files? Do I go into cPanel and try and do it there via MySQL editor or something?

Viewing 4 replies - 1 through 4 (of 4 total)
  • t0v3

    (@t0v3)

    Goto phpmyadmin and delete all the wp tables and do a fresh install

    Thread Starter Hendy

    (@hendy)

    Will I lose all my posts?

    Chris_K

    (@handysolo)

    yes, deleting all tables will kill all posts. Let’s avoid that for the moment.

    Have you had a look at Moving_WordPress?

    Thread Starter Hendy

    (@hendy)

    I went to the “giving wordpress its own directory” page and it helped me out. Up and running. Thanks again.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Accidentally added “index.php” as the installation directory!’ is closed to new replies.