I have one file called
http://localhost/abc/company.htm?postCo ... btn=Submit
This is the page for I have to write my RewriteRule. So I write the code for that like this.
Code: Select all
Options +MultiViews
Options +FollowSymLinks
RewriteEngine On
RewriteRule company-postCodeArea-(.*)-btn-(.*)-(.*)\.htm$ abc/company.php?postCodeArea=$1&Search_btn=$2Can someone please tell me where I go wrong?
My understanding for the mod_rewrite is:
1)create file named .htaccess
2)write the rule.
3)Load the page
What are the must steps need to be done for the RewriteRule?