I have a website (http://nottingham.subverb.net) that is mainly mad开发者_JS百科e up of messy procedural code and then a wordpress installation in a sub-directory that is handles a number of blogs. The database has been manipulated to link the rest of the site and what-have-you
Now that I'd deem myself to be a better programmer than when I started it, I want to rewrite the whole lot in Codeigniter - except the wordpress installation. But I have no idea how I would replicate the lot as I cant just install wordpress in the controllers folder.
Ive not had much love from Codeigniter forums or google...does anyone know if this is even possible?
Basically I want to be able to install wordpress and have it function exactly as it is now in the domain.com/blog/ directory
Does this make sense? Thanks
You need to exclude your directory from the codeigniter url rewrite conditions in the .htaccess file.
If you want to have friendly urls in the wordpress installation you would need to add the wordpress rewrite conditions as well but relative to the path it is installed in.
精彩评论