I've got a url having a parameter inside it. For example:
I wish to convert this to:
Yes, it can be done with .htaccess however i can't appear to have it to operate.
To gain access to the param in php with
$_GET['doc'], and also have the user begin to see the clean url
/guidelines/html you are able to rewrite the following:
RewriteBase / RewriteRule ^/guidelines/(.*)$ /guidelines/index.php?doc=$1 [NC]