Here's .htaccess configuration you can use to make nicer urls:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ view.php?page=$1 [QSA,L]
Legend:
- RewriteEngine: enable mod_rewrite in .htacess
- RewriteCond: do not rewrite address if they point to files (-f) or directories (-d)
- RewriteRule: replace nice url with real script call