Welcome Guest, Not a member yet? Register   Sign In
URL Rewrite rules
#1

[eluser]macleodjb[/eluser]
I'm having some trouble with the rewrite rules.

I copied this right out of the user manual and it doesn't work properly

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

It works on the main index page, but my css gets lost somewhere.

If i try to add a controller like www.example.com/register it doesn't work at all and shows the main index.php page.

If i try to call the controller direct like www.example.com/index.php/register it calls the controller but again my css doesn't load.

Any suggestions? This implementation is becoming very tiresome.


Messages In This Thread
URL Rewrite rules - by El Forum - 01-25-2009, 10:24 AM
URL Rewrite rules - by El Forum - 01-25-2009, 01:09 PM
URL Rewrite rules - by El Forum - 01-25-2009, 01:49 PM
URL Rewrite rules - by El Forum - 01-25-2009, 01:58 PM
URL Rewrite rules - by El Forum - 01-25-2009, 03:08 PM
URL Rewrite rules - by El Forum - 01-25-2009, 05:02 PM
URL Rewrite rules - by El Forum - 01-25-2009, 05:07 PM
URL Rewrite rules - by El Forum - 02-04-2009, 09:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB