mod_rewrite file path problems
Posted: Tue May 27, 2008 8:05 am
Hi. I've only just today managed to get mod_rewrite working. I'm very happy, it's taken me ages to start getting my head round it at all.
So now my urls have changed from
example.com?colour=red
to
example.com/red
but the page now acts like it is inside a deeper directory, so links need to point back one level. Is there a way to fix this with mod_rewrite or do I need to just change all my links? I can't really change my links because all the pages include same navigation.php file.
So now my urls have changed from
example.com?colour=red
to
example.com/red
but the page now acts like it is inside a deeper directory, so links need to point back one level. Is there a way to fix this with mod_rewrite or do I need to just change all my links? I can't really change my links because all the pages include same navigation.php file.