I'm trying to rewrite a dynamic url to a more search engine friendly url.
I'm using the phpbb SEO mod and did a couple extra rewrites for my site with it.
The url is like this:
dload.php?action=category&cat_id=2
I'm adding this in htaccess:
Code:RewriteRule ^download-categorie-([0-9]*).* dload.php?action=category&cat_id=$1 [L,NC]
And this in page_header.php:
Code:"'(?<!/)dload.php?action=category&cat_id=([0-9]*)'",
Code:"download-categorie-\\1.html",
Pages like portal.php?page=2 are rewritten correctly but somehow it doesn't work with the longer urls.
Any ideas?