CodeIgniter Forums
wordpress url / CI uri - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: wordpress url / CI uri (/showthread.php?tid=3601)



wordpress url / CI uri - El Forum - 10-12-2007

[eluser]AlexC33[/eluser]
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...


wordpress url / CI uri - El Forum - 10-12-2007

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

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


wordpress url / CI uri - El Forum - 10-15-2007

[eluser]AlexC33[/eluser]
Hi Derek Smile

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

Alas, they don't like it simple, and want something like http://codeigniter.com/blog1/params_of_WP and http://codeigniter.com/blog2/params_of_WP . 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


wordpress url / CI uri - El Forum - 10-15-2007

[eluser]Michael Wales[/eluser]
Upload installation of WP to domain.com/blog1/
Upload installation of WP to domain.com/blog2/

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

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



wordpress url / CI uri - El Forum - 10-15-2007

[eluser]sergitin[/eluser]
sorry my ignorance, but
what is WP and EE???


wordpress url / CI uri - El Forum - 10-15-2007

[eluser]AlexC33[/eluser]
@Sergitin:

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

EE was done by the guys at EllisLab Wink