Search code examples
coldfusionrailocfwheels

How do I use WordPress alongside CFWheels?


Anyone with a bit of experience with CFWheels will know how awesome it is, but also how fiddly it is with its placement in the web root / sub-folders etc.

I have a CFWheels website, that I would now like to place alongside a WordPress installation.

CFWheels placed in the web root (which is fine) and I would like WordPress to run in a sub-folder in that same web root named 'blog'. How can I do this without invoking CFWheels desire to find a controller or action called 'blog'?

I know that the 'miscellaneous' folder is a folder that I can place things that CFWheels will ignore, but putting the blog into this directory isn't really an option.

Any help or advice would be great.

EDIT: I just noticed that the miscellaneous folder has a blank Application.cfc file that stops CFWheels messing with it. I'm not around to test this right now, but will update later if it's possible to use this same technique on other folders I create. I may have answered my own question in record time.

Thanks, Mikey.


Solution

  • Placing a blank Application.cfc file in the folder of choice, stops CFWheels getting involved with everything in it.