Knowledgebase: Hosting FAQ > Tips and Tricks
Rewrite /merchant2 to /Merchant2
Posted by - NA -, Last modified by Jen Ferraz on 01 April 2011 11:22 AM
Some customers who move to us from Windows-based servers have used /merchant2/ in their links when the actual directory name is /Merchant2/. The following rewrite script added to a .htaccess file in the httpdocs/ directory will fix that:

RewriteEngine On
RewriteCond %{REQUEST_URI} ^/merchant2/(.*)
RewriteRule ^(.*)$ /Merchant2/%1 [L,R=301]
(405 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