Dont understand navigation for the RewriteRule?
Posted: Tue Jun 02, 2009 1:13 am
I dont proper understand how the RewriteRule will performing.
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.
But I dont get the proper result in the URL part when this page get load.
Can 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?
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?