Typo in Berend's code... replace "cmd" with "cms"...*********** REPLY SEPARATOR *********** On 20/07/2009 at 12:44 a.m. .Net2Php wrote: >Barend, > >Thanks for the suggestion. It works -- kindda. > >When I put it in my root .htaccess, my CodeIgniter application stopped >working. When I tried to put it in .htaccess of the /cms/ folder, I >was getting server errors. There must be a conflict somewhere??? > >On Jul 18, 4:52 pm, Berend de Boer <[email protected]> wrote: >> >>>>> "Net2Php" == Net2Php <[email protected]> writes: >> >> Net2Php> I have a CodeIgniter application with WP installed in >> Net2Php> /cms/ folder (under root). I am able to access WP pages >> Net2Php> provided /cms/ is in the URL. However, I want to >> Net2Php> eliminate the /cms/ part of the URL. So: >> >> Net2Php> RewriteRule ^cms/(.*)$ $1 [NC,L] >> >> Wouldn't it be the other way around? >> >> RewriteRule ^(.*)$ /cmd/$1 [NC,L] >> >> -- >> Cheers, >> >> Berend de Boer > --- Karl Senior Account Manager www.KIWIreviews.co.nz ... Where Your Views Count Please consider the environment before printing this email. --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected] -~----------~----~----~----~------~----~------~--~---
