Redirect Url In Cs-Cart 4.1.3

Hi everyone!

I'm upgrading to cs-cart system but I do not want to lose this link but also traffic from google but I can not do it

I need to redirect in cs-cart but could not do it. anyone can help me.

need to move url

From: www.abc.com/laptop/123456.html

to: ABC Home Page - ABC.com



of which: 123 456 keywords

[quote name='phungdiep' timestamp='1400640293' post='183927']

Hi everyone!

I'm upgrading to cs-cart system but I do not want to lose this link but also traffic from google but I can not do it

I need to redirect in cs-cart but could not do it. anyone can help me.

need to move url

From: www.abc.com/laptop/123456.html

to: ABC Home Page - ABC.com



of which: 123 456 keywords

[/quote]



Hello,



Just put this line in the end of .htaccess file of your store:


Redirect 301 /laptop/123456.html http://www.abc.com/?subcats=Y&status=A&pshort=Y&pfull=Y&pname=Y&pkeywords=Y&search_performed=Y&q=123456&dispatch=products.search



Best wishes, Cart-Power.

To redirect from the old to the new you place this code in your .htaccess file. Make shure to place it prior to the standard Cs-cart redirects or it will not work.

```php

Various rewrite rules.

RewriteEngine on

#custom redirects

RewriteRule (.)/index.html$ http://www.mysite.nl/$1 [R=301,L]

RewriteRule (.
).html$ http://www.mysite.nl/$1 [R=301,L]

#end custom redirects

```

First the easy ones. The pages where the new path is nothing like the old one, must be hard coded and come first. Old: /this_is_hot_news/index.html, is now found in: /news.

Your own bloud, sweat and tears, .php files are now taken care of by Drupal modules and path. Just use the same trick ase above but now with 'php' instead of the 'html'.

The looks like:

```php

Various rewrite rules.

RewriteEngine on

RewriteRule ^this_is_hot_news/index.html http://www.mysite/news [R=301,L]

RewriteRule (.)/index.html$ http://www.mysite.nl/$1 [R=301,L]

RewriteRule (.
).html$ http://www.mysite.nl/$1 [R=301,L]

RewriteRule (.)/index.php$ http://www.mysite.nl/$1 [R=301,L]

RewriteRule (.
).php$ http://www.mysite.nl/$1 [R=301,L]

#end custom redirects

```

or:


RewriteCond %{THE_REQUEST} series=2
RewriteRule . http://www.mysite.nl/node/75? [R=301,L]
RewriteCond %{THE_REQUEST} series=3
RewriteRule . http://www.mysite.nl/node/72? [R=301,L]

[quote name='cart-power' timestamp='1400648550' post='183931']

Hello,



Just put this line in the end of .htaccess file of your store:


Redirect 301 /laptop/123456.html http://www.abc.com/?subcats=Y&status=A&pshort=Y&pfull=Y&pname=Y&pkeywords=Y&search_performed=Y&q=123456&dispatch=products.search



Best wishes, Cart-Power.

[/quote]

how to use multiple links simultaneously.

[quote name='phungdiep' timestamp='1400657215' post='183947']

how to use multiple links simultaneously.

[/quote]



If you mean redirect from several pages, it will look like this:



Redirect 301 /laptop/123456.html http://www.abc.com/?subcats=Y&status=A&pshort=Y&pfull=Y&pname=Y&pkeywords=Y&search_performed=Y&q=123456&dispatch=products.search

Redirect 301 /page2.html http://www.abc.com/?subcats=Y&status=A&pshort=Y&pfull=Y&pname=Y&pkeywords=Y&search_performed=Y&q=123456&dispatch=products.search

Redirect 301 /page3.html http://www.abc.com/?subcats=Y&status=A&pshort=Y&pfull=Y&pname=Y&pkeywords=Y&search_performed=Y&q=123456&dispatch=products.search




Please, let me know if it helped you.

Try to put in your [color=#282828][font=arial, verdana, tahoma, sans-serif].htaccess file the comon code, and then will be the simultaneously links.[/font][/color]