complex rewrite rule for mod rewrite
Posted on 2008-10-24
i´m really confused on writing a mod rewrite rule for my webpage runing on Apache Webserver. I have never done this befor and don´t know how to start. I only know how to make the .htaccess file and set the rule but don´t know how to write the rule.
i have a php script which need several params the link to a site look like:
The arrangement of the params can be different and params can be missing.
how to write a rewrite rule that will give the following result?
what happens if the country or zip param is not set?