Hi all
I relatively new to this url rewriting but have come up against an issue which i wondered if someone could help me with.
I have created a URL Rewrite rule for sections on my site which is like below:
RewriteRule ^research/centres/(.*?)/$ /flavor1.php?id=$1
Which works great. Enter /research/centres/209/ and if correctly directs to /flavor1.php?id=209
Sub sections which direct to a different page i defined as below:
RewriteRule ^research/centres/group/(.*?)/(.*?)/$ /researchgroup.php?id=$2&title=$1
My problem is that the first Rewrite rule is always processed
So if i enter url /research/centres/group/this is the title/999/
The result of redirect is
/flavor1.php?id=this is the title
as opposed to /researchgroup.php?id=999&title=this is the title
If anyone can help me in how i overcome this i would be really greatful.
Thanks very much
Steve 
Last edited by numbenator; 07-30-2009 at 05:09 PM..
|