url rewriting - Isapi Rewrite not working, query string mod -


if hypothetically typed in: http://www.domain.com/items-shopping-shoe-2013

my website needs see: http://www.domain.com/items.asp?cc=shoe-2013

so, thought pretty simple..

i edited httpd.ini helicon isapi rewrite this:

rewriterule ^(.*?.com/)items-shopping-([a-za-z0-9-]+)?$ $1items.asp\?cc=$2

although patern matches, doesn't work.

i newb regex expressions , isapi rewrite..probably pretty obvious :p

try following in isapi_rewrite 3 .htaccess:

rewritebase / rewriterule ^items-shopping-(.+)$ /items.asp?cc=$1 [nc,l] 

for isapi_rewrite 2 be:

rewriterule /items-shopping-(.+) /items.asp\?cc=$1 [i,l] 

Comments

Popular posts from this blog

java - JavaFX 2 slider labelFormatter not being used -

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -