I need for my .htaccess file to take away the .php file extension and replace it with just a trailing slash.
Also, I have a profile.php page which will normally be visited with a numeric querystring parameter, like "profile.php?id=3
".
So on top of replacing extensions with slashes, how do I make "profile.php?id=3
" look like "profile/3/
"?
So far all I have is the first line:
RewriteEngine on
Where do I go from here?