301 Redirects From an Old Site to a New Site

Helicon Ape provides support for Apache .htacces and .htpasswd configuration files for Microsoft IIS.
User avatar
Posts: 2
Joined: 07 Aug 2014, 13:14

301 Redirects From an Old Site to a New Site

07 Aug 2014, 13:22

I'm in the process of rewriting one of our sites and will need to create 301 redirects for all the pages, because the URL structure is completely different.

The old site uses query string parameters, where as the new site uses SEO friendly urls thanks to Ape. I have the code working to redirect the individual URLS, but since there are over 2,000 of them, it brings the server to its knees when I add the rules to the htaccess file.

So far, this is the only way I've been able to get the URL redirection to work:

Code: Select all
RewriteCond %{QUERY_STRING} ^Screen=PROD&Product_Code=FW321$ [NC]
RewriteRule ^Merchant2/merchant.mvc$ /ferret-fur-coat/upc/766501003215? [NC,L,R=301]

RewriteCond %{QUERY_STRING} ^Screen=PROD&Product_Code=FC013$ [NC]
RewriteRule ^Merchant2/merchant.mvc$ /deluxe-ferret-townhouse/upc/766501000139? [NC,L,R=301]


Is there a more effective way to redirect these links than what I'm using here?

Thanks!

User avatar
Posts: 2
Joined: 07 Aug 2014, 13:14

Re: 301 Redirects From an Old Site to a New Site

07 Aug 2014, 18:11

I got this working the way I wanted using multiple map files.

Return to Helicon Ape

Who is online

Users browsing this forum: No registered users and 24 guests