Forums / Bug Reports / 302 redirect with languages vs search engines

302 redirect with languages vs search engines

Locked

Started by xordox on 1 Nov 2008, 10:00 AM · Views: 2,789

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
1 Nov 2008, 10:00 AM
#1
xordox avatar

xordox

Zen Follower

Join Date:
Sep 2008
Location:
Tel-Aviv-New York
Posts:
143
Plugin Contributions:
0

302 redirect with languages vs search engines

Hello, I noticed , when I have 2 (or more) languages site and if for each language I set up different currency, my site WILL NOT be indexed by search engines (only pages with default language will be indexed), because when I try to switch to another language I get 302 temporary redirection.

1 Nov 2008, 12:34 PM
#2
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: 302 redirect with languages vs search engines

Yes. And so you can't use link to your shop with setting currency or language.
I do not understand why this is done, so all my sites I deleted this redirect in init_currencies.php.

//  if (isset($_GET['currency']) || isset($_GET['language'])) zen_redirect(zen_href_link($current_page_base, zen_get_all_get_params(array('currency','language'))));

NOTE: We are sorry that Andrew is no longer with us.
We are grateful for all his contributions to the Zen Cart community.