RewriteEngine on
Options +FollowSymLinks
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^admin/$ admin.php
RewriteRule ^admin/([a-z]+)/$ admin.php?page=$1
RewriteRule ^admin/([a-z]+)/([a-z]+)/$ admin.php?page=$1&do=$2
RewriteRule ^popup/$ popup.php
RewriteRule ^popup/([a-z]+)/$ popup.php?page=$1
RewriteRule ^([a-z]+)/$ index.php?page=info&view=$1
RewriteRule ^([a-z]+)/$ index.php?page=$1
RewriteRule ^([a-z]+)/([a-z]+)/$ index.php?page=$1&view=$2
RewriteRule ^([a-z]+)/([a-z]+)/([a-z]+)/$ index.php?page=$1&view=$2&func=$3
RewriteRule ^([a-z]+)/([a-z]+)/([a-z]+)/([0-9]+)/$ index.php?page=$1&view=$2&func=$3&id=$4
RewriteRule ^([a-z]+)/([a-z]+)/([0-9]+)/$ index.php?page=$1&view=$2&id=$3
And when I go to www.domain.com/store/
It automatically redirects me to www.domain.com
I dono why, the default of the switch does not redirect!?!?!
But when I go to www.domain.com/index.php?page=store
Then the page works and doesnt redirect, why does it redirect with the previous url?
