• I plan to replace an existing HTML based website with a WordPress based website. For setup purposes, I would like to be able to run both sites side by side, at the same domain, and then when ready, switch to the new site. To clarify – if one browsed to the domain, I would want the old site to come up (index.html), but if one went to http://www.domain.com/index.php, the WordPress site would come up.

    Thanks.

    Ed

Viewing 5 replies - 1 through 5 (of 5 total)
  • If you don’t have file name conflicts, I think is should probably just work. Make sure you have a solid backup but I don’t think you will have a problem. You might need to adjust DirectoryIndex.

    You will have to put wordpress in a seperate folder like mysite/wp/index.php If a call is made to the main url it will hit html

    You will have to put wordpress in a seperate folder like mysite/wp/index.php If a call is made to the main url it will hit html

    That is exactly what ecomalley wants to happen, at least during the setup process.

    To clarify – if one browsed to the domain, I would want the old site to come up (index.html), but if one went to http://www.domain.com/index.php, the WordPress site would come up.

    Most servers will give precedence to html over php if in the same directory. Since it looks for ‘index’ it will discount the extension and serve one.You could try it but I doubt it will work.
    Normally I use a temp folder like ‘wp’ and then use rewrite in htaccess when complete

    Most servers will give precedence to html over php if in the same directory.

    Yes… which is what he wants to happen, unless one specifically browses to index.php. It is definitely possible the other way around, with index.php taking precedence. It might not work with pretty permalinks though… interesting… I’ll have to play with this a little later.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Installing WordPress "Alongside" an HTML website’ is closed to new replies.