Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Over 40,000 Url's To Redirect Problem Rate Topic   - - - - -

 

Posted 30 May 2017 - 01:12 PM #1

Hi,

 

What is the best way to add URL redirects for over 40,000 URL's ?

 

I currently know about adding each URL to .htaccess file but not sure if that will be the best way.

 

Thanks.



 
  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 4665 posts

Posted 30 May 2017 - 02:14 PM #2

there are bulk utilities such as this one

 

https://donatstudios...eRule_Generator


Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2


 
  • BarryH
  • Senior Member
  • Members
  • Join Date: 03-Sep 07
  • 1459 posts

Posted 30 May 2017 - 03:34 PM #3

Hi

 

Are you redirecting to a new site? ie www.site1.com - www.site2.com

 

If you are and you have access to Cpanel then you could try this......

 

RewriteEngine on
RewriteCond %{HTTP_HOST} ^site1\.co\.uk$ [OR]
RewriteCond %{HTTP_HOST} ^www\.site1\.co\.uk$
RewriteRule ^(.*)$ "http\:\/\/www\.site2\.co\.uk\/$1" [R=301,L]



CREATE NEW .HTACCES FILE AND IN CP PANEL DO A WILD CARD REDIRECT (SHOULD BE LIKE ABOVE)

 

this should work if you have the same products/seo on both sites and on same server I think

 

NOT TESTED!!!!!

 

Regards

Barry


BarryH

 

CS-Cart v4.4.3 (Plus one being developed v4.5.2 SP2)
UK User


 
  • BarryH
  • Senior Member
  • Members
  • Join Date: 03-Sep 07
  • 1459 posts

Posted 03 June 2017 - 05:30 PM #4

I assume you got sorted with this?

 

You had 2 replies, but no feed back, but you have been on forum and posted since!

Help the community and say what has or has not helped.


BarryH

 

CS-Cart v4.4.3 (Plus one being developed v4.5.2 SP2)
UK User