Forum Moderators: phranque
I have the following dynamic url:
[mysite.com...]
I would like to be able to mod rewrite that request to the more search engine friendly format of:
[mysite.com...]
I have a reasonable idea of exactly what I am trying to do but the .htaccess code I use for this never seems to work correctly.
Any help would be greatly appreciated :)
I decided to dump the articles directory and serve the articles directly from an articles.php file in the root directory.
I have come up with:
RewriteRule articles/(.*) articles\.php?articleid=$1
It seems to work and it has simplified the process somewhat too.
Hope it helps someone else looking for the same type of thing.