Luis Valencia
Luis Valencia

Reputation: 34028

302 Redirect set by Magento, 9300 Crawling errors

I have a SEOMOZ Pro account, and after crawling we have 9300 Warnings, and 90% of them are because of 302 redirect errors. It looks like its something with the compare feature.

URL: http://goo.gl/Dg1jY

0 Errors

No errors found! 1 Warning

302 (Temporary Redirect) Found 1 day ago Redirects to http://goo.gl/OcAqw Description Using a 302 redirect will cause search engine crawlers to treat the redirect as temporary and not pass any link juice (ranking power). We highly recommend that you replace 302 redirects with 301 redirects.

Upvotes: 3

Views: 4464

Answers (3)

rydnr
rydnr

Reputation: 51

I had the same issue. You can change whether or not you want to redirect cookie-less users to "enable cookies" page, in System -> Configuration -> Web -> Browser capabilities detection -> Redirect to CMS-page if Cookies are Disabled

I disabled it, and then changed the source code (version 1.7.0.2) as follows:

app/code/core/Mage/Core/Controller/Response/Http.php
93c93
<     public function setRedirect($url, $code = 302)
---
>     public function setRedirect($url, $code = 301)

Upvotes: 3

Ben Lessani
Ben Lessani

Reputation: 2151

If you've only got 1 store view, then consider disabling "Use SID on front end" - this should help some of your natural links considerable.

Canonical URLs are in the core from version 1.4 onwards - so don't install a 3rd party extension.

Also, consider disabling HTTPS on non-checkout/account pages - you are slowing down your site unnecessarily.

As a side note, you're missing a favicon and showing full server tokens ;)

Upvotes: 1

Jonathan Day
Jonathan Day

Reputation: 18702

The Yoast Canonical extension should fix that for you. It sets a canonical URL for the compare URLs that point to the actual Product page.

Upvotes: 2

Related Questions