Hey
I have this htaccess code:
RewriteEngine on
RewriteBase /xm/
RewriteCond %{REQUEST_URI} !^/index.php$
RewriteRule ^([a-z0-9]*)\.php$ index.php?page=$1
And I want that when the user goes to, for example, main.php, that this htaccess redirects to index.php?page=main, but every time, and with every page, it redirects to index.php?page=index, and page is equal index no matter what. What am I doing wrong?
EDIT: works fine with numbers (eg 4.php) but not with letters :/