Knowledgebase: Hosting FAQ > Tips and Tricks
Forward cgi-style Merchant requests to redirect-style requests.
Posted by Jen Ferraz on 11 April 2011 02:51 PM
If you switched from another provider or recently upgraded to a new version of Miva Merchant, and your old store used cgi-bin?Merchant2/ style URL's instead of just /Merchant2/ style URL's, you can add a 301 redirect to keep the old URLs working. Place the following text into a .htaccess file in your cgi-bin directory (replace with the domain name of your store):

RewriteEngine On
RewriteCond %{QUERY_STRING} Merchant2/(.*)\+(.*) [NC]
RewriteRule ^(.*) [R,L]
(3 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Kayako