WordPress.org

Ready to get started?Download WordPress

Forums

running test site without index.php (5 posts)

  1. zurdog
    Member
    Posted 7 years ago #

    I have a current site up (without wordpress) that has index.php as the default. I want to install wordpress and work on it as a test site in the root. The problem is, wordpress runs using index.php. So if change that, the default page will load (in wp), but not the other pages.

    My questions is, if I change the wordpress index.php to index_test.php, how do I get the rest of the site to work?

    Or is there any easier way? Basically I want to run the existing site and the test wordpress site in the root, and then simply rename my test file... index.php when I'm ready to go live.

  2. moshu
    Member
    Posted 7 years ago #

    to index_test.php, how do I get the rest of the site to work?
    You will not get it to work.
    Why don't you install it in a subfolder until your are learning it?

  3. zurdog
    Member
    Posted 7 years ago #

    Ok if I install it in a sub directory... is it an easy transition to pull everything in the root and remove the sub directory? Is there easy documentation on how to do this?

  4. Chris_K
    Member
    Posted 7 years ago #

    Sure. Moving_WordPress covers many scenarios.
    THere's also Giving_WordPress_Its_Own_Directory which is a slightly different approach.

  5. zurdog
    Member
    Posted 7 years ago #

    Awesome, I appreciate it. My last question is... is there an easier way (with a plugin) to change all the directory locations to images for example? Lets say I'm using a test platform locally, or online and I move the directory. All the paths to images wouldn't match up. So I'm wondering if there is some plugin to dynamically put the path in wordpress to the images? Or should I just use a PHP plugin and pull the path that way to the images?

Topic Closed

This topic has been closed to new replies.

About this Topic