This forum has been moved here:
Helicon Tech Community Forum

ISAPI_Rewrite 3.0 (Forum Locked Forum Locked)
 Helicon Tech : ISAPI_Rewrite 3.0
Subject Topic: another Rule rewrite
Author
Message |
lentilla
Newbie


Joined: 16 November 2011
Location: Spain
Posts: 6
Posted: 16 November 2011 at 10:29am

Hola

necesito hacer este rewrite y la verdad es que no me sale

tengo la url amigable:
anuncios-gratis-cualquier-texto_1.asp

y la tengo que convertir en detalle-anuncio?idAnuncio=1

Me podrias ayudar

Gracias de antemano
Back to Top
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 17 November 2011 at 7:47am

Prueba la siguiente regla, por favor:

RewriteRule ^anuncios-gratis-.*_(\d+)\.asp$ /detalle-anuncio\?idAnuncio=$1 [NC,L]

__________________
Regards,
Anton
Back to Top
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version