Forum Moderators: phranque
# Stop if it's a request to an existing file.
RewriteCond %{REQUEST_FILENAME} -f [NC,OR]
RewriteCond %{REQUEST_FILENAME} -d [NC]
RewriteRule .* - [L]
# Redirect all requests to the index page
RewriteRule (.*) page.php [NE,L,QSA]
$tokens = preg_split('#/#', $_SERVER['REQUEST_URI'], -1, PREG_SPLIT_NO_EMPTY);
It works fine when I move my code to a Linux server
Thanks Dideved - I don't know how you found that out -- I spent ages trying/changing the htaccess file trying to get it to work!