Hi all, is there a way to get what asked in the subject?
to make: domain.com/myfolder/news/123
to
domain.com/myfolder/index.php?news=123
Thanks for your help
# domain.com/news/123
RewriteRule ^([a-z0-9]+)/([0-9]+)/? /yourfolder/index.php?$1=$2 [L]
#domain.com/myfolder/news/123
RewriteRule ^yourfolder/([a-z0-9]+)/([0-9]+)/? /yourfolder/index.php?$1=$2 [L]
Return to Friendly URLs with Mod_Rewrite
Users browsing this forum: No registered users and 41 guests