CodeIgniter Forums

Full Version: wordpress url / CI uri
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

Hello everyone Smile

I'm new to CI, and new to WP also. I just got involved in a large project that make extensive use of CI (in fact, all the project use CI... Except the WP part), with a postgresql DB.

I need to make WP work inside the site in CI. I need in particuliar that the url of WP are not touched / interpreted by CI. Is there a magic way (which I don't know) to do this? Or do I have to ask the managers here to drop WP (it's a sweet dream, but I don't think it's a realistic one)?

thanks for your help Smile

PS: I know it has already been asked here CodeIgniter with Wordpress ? , but the thread is pretty old, and has no answers...

El Forum

[eluser]Derek Allard[/eluser]
The easiest way to do this would be to run the blog in a subdomian, like -> CI part -> WP part.

<edit>OH, and welcome to CI!</edit>

El Forum

Hi Derek Smile

thanks for your response, it was exactly what I thought!

Alas, they don't like it simple, and want something like and . Yes, the site will have two differents blogs! Is it still something feasible, or should I tell them no (and at the same time switch to EE? Wink

Thanks Smile

El Forum

[eluser]Michael Wales[/eluser]
Upload installation of WP to
Upload installation of WP to

Make sure you filter out these two sub-directories within the RewriteCond of your .htaccess file found at

RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt|blog1|blog2)
RewriteRule ^(.*)$ /index.php/$1 [L]

El Forum

sorry my ignorance, but
what is WP and EE???

El Forum


WP = WordPress (blogging software in PHP)
EE = Expression Engine (blogging software in PHP)

EE was done by the guys at EllisLab Wink