This is a discussion on rewrite rule not working within the Apache Web Server forums, part of the Web Server and Related Forums category; I need to rewrite urls like /index.php?option=com_wrapper&wrap=test&Itemid=32 into something like /muppy-...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I need to rewrite urls like
/index.php?option=com_wrapper&wrap=test&Itemid=32 into something like /muppy-test-32.htm i've tried to use this rewrite rule: RewriteRule muppy-([^/]+)-([^/]+).htm index.php?option=com_wrapper&wrap=$1&Itemid=$2 [L] but it doesn't works: it gives me a 404 error Any suggestion? Thanks Andrea |
|
|||
|
*** Muppy escribió/wrote (Sat, 28 Aug 2004 10:43:43 GMT):
> I need to rewrite urls like > > /index.php?option=com_wrapper&wrap=test&Itemid=32 > > into something like > > /muppy-test-32.htm > > i've tried to use this rewrite rule: > > RewriteRule muppy-([^/]+)-([^/]+).htm > index.php?option=com_wrapper&wrap=$1&Itemid=$2 [L] Try: muppy-([^-]+)-([0-9]+)\.htm And, if possible, check error_log file for further info. -- -- -+ Álvaro G. Vicario - Burgos, Spain - ICQ 46788716 +- http://www.demogracia.com (la web de humor para mayores de 100 años) ++ «Sonríe, que te vamos a hacer una foto para la esquela» -- |