I'm wanting to do a conditional rewrite with differing numbers of parameters some optional.
Is this possible
this would need to go into index.php as
The page value is optional
Is this possible
Code:
www.domain.co.uk/search/butcher/town/mytown
www.domain.co.uk/search/butcher/county/mycounty/page7
www.domain.co.uk/show/123
this would need to go into index.php as
Code:
index.php?function=search&category=butcher&town=mytown
index.php?function=search&category=butcher&county=mycounty&page=7
index.php?function=show&key=123
The page value is optional
Last edited: