Using htaccess rewrite/redirect so single PHP file can display data according to GET/POST variables
snippet in htaccess

Using htaccess rewrite/redirect so single PHP file can display data according to GET/POST variables

user1561

RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.+)$ /index.php?page=$1 [L]