Hallo,
I have set my apache to parse urls using mod_rewrite:
RewriteRule /([0-9]+)$ /path/page.php?id=$1
so in this way I could type:
www.mydomain.com/45
and it works like typing:
www.mydomain.com/www/page.php?id=45
perfect !
I would like to have one more step: a random text before or after id.
so that I can type:
www.mydomain.com/text/45
or
www.mydomain.com/word/45
and it parse url in the same way:
www.mydomain.com/www/page.php?id=45
Anybody here knows how to modify Rewrite rule to reach this purpose ?
Thank you very much !
Fabi