regular express problem
Posted: Wed Jul 30, 2008 5:17 am
Hi
I am having problem in fixing the regular expression.
I want to forward all calls to shop.php but at the same time if[there is call i.e http://www.example.com then it should took it to index.php not the shop.php
here is my current expression, it always throw pages to shop.php even if want to go index.php it will take me to shop.pop
I am having problem in fixing the regular expression.
I want to forward all calls to shop.php but at the same time if[there is call i.e http://www.example.com then it should took it to index.php not the shop.php
here is my current expression, it always throw pages to shop.php even if want to go index.php it will take me to shop.pop
Code: Select all
RewriteEngine on
RewriteRule ^/ index.php
RewriteRule ^([a-zA-Z0-9.]+) shop.php