Forum Moderators: buckworks

Message Too Old, No Replies

Redirect Magento currenty switcher urls as 301?

         

onlinesource

1:26 pm on Apr 20, 2015 (gmt 0)

10+ Year Member Top Contributors Of The Month



I Magento, the currency switcher that lets you change currencies creates 302 (temporary) redirects. Is there a way to make this 301 instead?

I have a ton of 302 redirects showing up in SEO reports and most look like:

http://www.example.tld/directory/currency/switch/currency/CAD/uenc/aHR0cDovL3d3dy5kaXBsb21hY29tcGFueS5jb20vZmFrZS1kaXBsb21hLWFjY2Vzc29yaWVz/

Is there an easy way to tell the site to make these types of urls 301's? I have tried to go into Rewrite Manager and crated a new custom redirect from "directory/currency/switch/currency/CAD/uenc/aHR0cDovL3d3dy5kaXBsb21hY29tcGFueS5jb20vZmFrZS1kaXBsb21hLWFjY2Vzc29yaWVz/" to http://www.example.tld/directory/currency/switch/currency/CAD/uenc/aHR0cDovL3d3dy5kaXBsb21hY29tcGFueS5jb20vZmFrZS1kaXBsb21hLWFjY2Vzc29yaWVz/ as a 301 for instance, but it's created a LOOP because the redirect already exists. Is there code or some place where I can see those redirects and mark them as 301 instead of 302?

Thank you!

pressma

9:30 am on Apr 24, 2015 (gmt 0)



For that there is an option in magento take developers help he can solve it easily.

[edited by: engine at 2:47 pm (utc) on Apr 24, 2015]
[edit reason] Please see WebmasterWorld TOS [/edit]