wordpress url / CI uri |
[eluser]AlexC33[/eluser]
Hello everyone 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 PS: I know it has already been asked here CodeIgniter with Wordpress ? , but the thread is pretty old, and has no answers...
[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>
[eluser]AlexC33[/eluser]
Hi Derek 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? Thanks
[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
[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 |
Welcome Guest, Not a member yet? Register Sign In |