Magento- 1675 302 Redirects - How to Fix?
-
Hi Folks,
I would appreciate some help on this. My ecommerce website is built on magento and we currently have 1675 302 Redirects on it as pointed out by the SEOMOZ crawler.
Has anyone any idea on how to fix this or ave you being on the same boat as me. Im pretty sure this is why it coming up that I have a lot of dup content on the website also.
Help appreciated as always. Thank you!
-
Curious if you ever solved this issue with temporary redirects? Our Magento site is doing the same thing, with enable cookies page , wish list page and compare product pages.
-
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.
-
whats your websites URL and I can look to see if you have the canonical tag working correctly. Just incase.
Also, magento 1.4 has the canonical tag as standard now, what magento are you using. I know one I switched it on and did a small bit of editing all my dup content was gone after the next crawl.
However, I still have a bunch of 302 redirects.
-
I have the yoast canonical magento extension installed... so that should have taken care of all of the duplicate pages.
However, I'm still seeing it as being a issue from within my seomoz account. Could it be that I have the canonical tag in place and the seomoz crawler got it wrong.
Or should I take it that this is actually a more serious issue and that my yoast canonical extension could be broken?
Thanks so much for your response Dean.
-
HI Freddie.,
I woudnt be very techy minded in regards to 301s and 302s so im unsure what approach to take.
I can tell you I got rid of all the dup content by inserting the canonical tag but I still have a large amount of 302s and im unsure what to do.
Anyone care to shine some light?
-
I've also got a magento store with a large amount of 302 redirects. It looks like the majority of them are a compare product page or a add to wishlist page 302'ing to a enable cookies page.... is your problem similar to this?
Should I just have my developer change the 302's to 301's?
-
Thanks. This is SEOmoz exact words with the problem.
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.
I have 1600 of these 302 errors, so how can i fix it?
The dup content is a seperate issue then, I thought they would be related? So by using the canonical tag, i can get rid of dup content?
-
Yes that is correct, you need to 301 redirect or use a canonical tag to fix this.
but this is seperate to your 302 problem
-
okay thank you. So for example, I am getting the below pages all as dup content for my homepage, this is happening for all my categories.
- http://www.unforgettablegifts.ie/
- http://www.unforgettablegifts.ie/?mode=grid
- http://www.unforgettablegifts.ie/?dir=asc&mode=grid&order=position
- http://www.unforgettablegifts.ie/?dir=desc&mode=grid&order=position
- http://www.unforgettablegifts.ie/?dir=desc&order=position
I was under the impression though, because of the above problem, google is actually spreeding my PR out amoung this 5 pages instead of one?
-
I dont use CMS for these reasons, so i have not been ion the same boat as you.
I think it may be hard to fix if they are in the functionality of the CMS, if you give me a url i will have a llook at them for you.
A bit of good news, Bing will treat 302 redirects as 301 redirects if they are found to be inplace for a long time. but I dont believe google does, but even then 301 rediretcs leak link juice so thats not the best either (302s dont pass any).
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
404s on subfolder - how to redirect?
Hi all,
Technical SEO | | MFSMarketing
we have a lot of 404s to subfolders. Eg
www.website.com/blog-post-title/imagename/
www.website.com/blog-post-title/author/ We don't have these subfolders or blog posts anymore.
How do i redirect them? These links (404s) don't seem to have any value or backlinks. Thanks,
Stef0 -
Page redirected too many times
Hello, How can we solve the following error : This page isn't working ** redirected you too many times.** It's very frustrating. I have cleared the cookies. Still, the problem persists. Thanks
Technical SEO | | Johnroger0 -
Setting Up A Website For Redirects
I've got an old defunct domain with a lot of backlinks to individual pages. I'd like to use these backlinks for link juice by redirecting them to individual pages on the new domain (both sites belong to the same company). What is the best way to set this up? I presume I need some kind of hosting & site, even if it's just a default Wordpress install, which I can then use to set up the redirects? Would it be best done using .htaccess file for 301 redirects or some other way?
Technical SEO | | abisti20 -
As a beginner in SEO, how do I do 302 redirects/ rel="canonicals"
One of the things Inseem to leave undone is failure to do 302 redirects or rel="canonicals" on my site www.johannesburg.today. Please help .
Technical SEO | | Gain40 -
Fix redirect loop
Hi,
Technical SEO | | bshanahan
I've been trying set up a 301 redirect from http://domestiquecap.com to www.domestiquecap.com but one was already set up by my client the other way around (from www to http://) so it's creating a redirect loop. However, we don't know where that original redirect was set up. The htaccess file doesn't appear to have the redirect and neither does the control panel of our hosting company. We need to turn off that original redirect so that I can instead redirect to the www subdomain. Where else could this 301 redirect have been set up? Is there a tool to diagnose where the 301 redirect was created so that I can turn it off? I am thinking maybe it was created via the domain registrar (GoDaddy) since the client has the login there and hasnt shared it with me.0 -
301 redirects
Hello. Our site was recently rebuilt, and we switched from using index.php in all the urls to not using it at all. We also changed the names of many of our pages. So the urls have been renamed from "example.com/index.php/old_page_name/" to "example.com/new-page-name/". While we were at it, we changed from "_" to "-" as our word separators in the urls. In the .htaccess file, we have a small block of code that strips out "index.php/" from all requests. This code redirects a request for "example.com/index.php/old_page_name/" to "example.com/old_page_name/" For your information, the code that strips out "index.php/" is: RewriteCond %{THE_REQUEST} ^GET.index.php [NC]
Technical SEO | | nyc-seo
RewriteCond %{THE_REQUEST} !/uSZWTLna/.
RewriteRule (.?)index.php/(.*) /$1$2 [R=301,L] Then we have 301 redirects from "example.com/old_page_name/" to "example.com/new-page-name/" QUESTION 1: Is this two-step redirect approach okay, or would it be better to skip the separate index.php stripping code and simply have 301 redirects that include "index.php" in the urls? QUESTION 2: Will we lose some of the benefit of the links that have to pass through a 301 redirect? QUESTION 3: We have 50 or so redirects. Will this affect performance of the site? How many redirects does it take to start affecting performance? Thank you!0 -
301 Redirect with ASP (not .NET)
I'm looking to redirect non www to www and also .co.uk to .com. http://www.xxxxx.com is the intended target. http://xxxxx.com & http://www.xxxxx.co.uk & http://xxxxx.co.uk to redirect. I managed to do some of this but if I come through to a service page /services/cars.asp it redirects to the homepage. All I have so far is this code: <% If InStr(Request.ServerVariables("SERVER_NAME"),"www") = 0 ThenResponse.write "http://www." & Request.ServerVariables("HTTP_HOST") & Request.ServerVariables("URL") & "?" & Request.ServerVariables("QUERY_STRING")Response.EndEnd if %> What am I missing?
Technical SEO | | Hughescov0 -
Rel=cannonical + 301 redirect
Hi All I am currently working on a DotNetNuke site. I have enabled friendly URL's which have changed the url structure from the default setting of TabId=x to whatever the page name is set as. I will use the following page as an example - www.notarealdomain./graphicdesign.aspx Now I would like to know if it would be worth my time to change this to "/graphic-design.aspx through the use of a 301 redirect and/or a rel=can. Any help would be much appreciated. Thanks
Technical SEO | | masterpete0