Running WP in the Root Directory with Another Website (non-php)

Our legacy site operates from http://brysonweb.com/index.cfm. We wanted to develop our site in wordpress, right there, and to not have to move it later. All of our code for hosting clients is written in Cold Fusion, and it would not be a logical expense to try to re-code it all into WP’s php.

So, with some fiddling with .htaccess and permalinks, we were able to have visitors to brysonweb.com continue to receive the ColdFusion site, and also to view and manage our new WP site.

We used an iframe in the hosting section, to pull in the cold fusion pages.

Then be issue became how WP handles the home page. With the Cold Fusion page at brysonweb.com as the default, all links from within the WP site linked out of it. And, we couldn’t actually see your WP Home Page.

Here are the tweaks that worked for us:

Copy home.php my-home.php

Add this to the top of my-home.php

Create new page in WP called “Home”, which uses the “My Home” template.

Get the permalink URL by viewing the page. It will look something like this: http://brysonweb.com/index.php/home

Add it to your Menu as a custom link, using that URL.

And, that should do the trick!