mod_rewrite question
Permalink
Hi, my regex skills are pretty shocking to say the least, so I wonder if anyone can help me out...
In the context of the mod_rewrite pattern provided in c5 to prettify urls, I want to in addition customise my own urls so that any RewriteRules don't conflict with the c5 rules.
Essentially I'd like to rewrite:
http://www.domain.com/campaign/this-is-a-campaign... to
http://www.domain.com/this-is-a-campaign...
...losing the /campaign directory
I also want visitors to be able to type in 'www.domain.com/this-is-a-campaign' and not end up at a 404 page not found.
Are these two separate requirements? If anyone can assist with this that would be much appreciated.
Thanks
Si
In the context of the mod_rewrite pattern provided in c5 to prettify urls, I want to in addition customise my own urls so that any RewriteRules don't conflict with the c5 rules.
Essentially I'd like to rewrite:
http://www.domain.com/campaign/this-is-a-campaign... to
http://www.domain.com/this-is-a-campaign...
...losing the /campaign directory
I also want visitors to be able to type in 'www.domain.com/this-is-a-campaign' and not end up at a 404 page not found.
Are these two separate requirements? If anyone can assist with this that would be much appreciated.
Thanks
Si
It's the 3rd tab under Properties in 5.6...