WordPress.org

Ready to get started?Download WordPress

Forums

Default file temp (index.htm) trumps WP links (4 posts)

  1. stricha
    Member
    Posted 7 years ago #

    Hi,
    I'm migrating an exisiting static site to WordPress. I want to keep the existing site up while finishing-up the WP buildout. However, if I change the .htaccess file to point to index.htm (the old site index) all my WordPress links point to the index.htm file. I want to keep the current site up and work on WP, which is installed in the site root, at the same time. Is there a way I can have the site default to the index.htm without making WordPress lose track of itself?

    Thanks.

  2. Jeremy Clark
    Moderator
    Posted 7 years ago #

    You might want to just go ahead and move wordpress to its own subdirectory then when you get ready to move into you new site just follow these directions.

  3. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    However, if I change the .htaccess file to point to index.htm (the old site index) all my WordPress links point to the index.htm file

    Right. So don't do that. Leave WordPress's .htaccess rules alone.

    I want to keep the current site up and work on WP, which is installed in the site root, at the same time. Is there a way I can have the site default to the index.htm without making WordPress lose track of itself?

    No.

    I recommend installing WordPress in a subdirectory, and then moving it to the main directory when you want to do so.

    Read this: http://codex.wordpress.org/Moving_WordPress

  4. stricha
    Member
    Posted 7 years ago #

    Thanks for the quick response!

Topic Closed

This topic has been closed to new replies.

About this Topic