dizyn
07-30-2008, 11:18 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 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
RewriteEngine on
RewriteRule ^/ index.php
RewriteRule ^([a-zA-Z0-9.]+) shop.php
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 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
RewriteEngine on
RewriteRule ^/ index.php
RewriteRule ^([a-zA-Z0-9.]+) shop.php