Here's my .htaccess which is lying in the root of the htdocs folder:
Code: Select all
ErrorDocument 404 /index.php?p=404
RewriteEngine On
RewriteRule ^/(їa-z0-9_-]+) /index.php?p=$1How I want the URLs to work (examples):
As you can see, I want the query-string to be turned into a user-friendly url-part, but I would prefer it be possible to use the normal query-string way too (but it's not too important).http://vigge.ath.cx/ (root) or /start/ - leads to index.php?p=start (or just index.php for root)
/files/ - leads to /index.php?p=files (ie, files section)
/econtent/?edit=somepage or /econtent/somepage/ - leads to /index.php?p=econtent&edit=somepage
How it currently works:
Any ideas?http://vigge.ath.cx/ (root) or /?p=start - leads to index.php?p=start (or just index.php for root)
/?p=files - leads to /index.php?p=files (ie, files section)
/?p=econtent&edit=somepage
Thanks in advance