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: Is this possible?
Author
Message |
ryanmac
Newbie


Joined: 20 December 2011
Posts: 1
Posted: 20 December 2011 at 12:54pm

I have an ecommerce site that switched over from a Linux
based shopping cart, to a Win based shopping cart. There
are over 45k products, and what I'd like to do is simply
rewrite the category URLs.

OLD: /cgi-bin/instock.pl?cat=1&subcat=2
NEW: /department/category-name-12345.cfm

Is this possible with ISAPI Rewrite?

Back to Top
 
Guests
Guest


Joined: 01 October 2003
Online Status: Online
Posts: -160
Posted: 22 December 2011 at 5:14am

Hello,

Try using:

RewriteEngine on
RewriteBase /

RewriteCond %{QUERY_STRING} ^cat=1&subcat=2$ [NC]
Rewriterule ^cgi-bin/instock\.pl$ /department/category-name-12345.cfm [NC,R=301,L]

Regards
Andrew
Back to Top
 

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

Printable version Printable version