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
-
Avoid landing page redirects
Avoid landing page redirects for the following chain of redirected URLs. http://domainname.com/ https://domainname.com/ https://www.domainname.com/ Anyone know how to solve this issue the correct way?
Technical SEO | | Sammyh0 -
What's with the redirects?
Hi there,
Technical SEO | | HeadStud
I have a strange issue where pages are redirecting to the homepage.Let me explain - my website is http://thedj.com.au Now when I type in www.thedj.com.au/payments it redirects to https://thedj.com.au (even though it should be going to the page https://thedj.com.au/payments). Any idea why this is and how to fix? My htaccess file is below: BEGIN HTTPS Redirection Plugin <ifmodule mod_rewrite.c="">RewriteEngine On
RewriteRule ^home.htm$ https://thedj.com.au/ [R=301,L]
RewriteRule ^photos.htm$ http://photos.thedj.com.au/ [R=301,L]
RewriteRule ^contacts.htm$ https://thedj.com.au/contact-us/ [R=301,L]
RewriteRule ^booking.htm$ https://thedj.com.au/book-dj/ [R=301,L]
RewriteRule ^downloads.htm$ https://thedj.com.au/downloads/ [R=301,L]
RewriteRule ^payonline.htm$ https://thedj.com.au/payments/ [R=301,L]
RewriteRule ^price.htm$ https://thedj.com.au/pricing/ [R=301,L]
RewriteRule ^questions.htm$ https://thedj.com.au/faq/ [R=301,L]
RewriteRule ^links.htm$ https://thedj.com.au/links/ [R=301,L]
RewriteRule ^thankyous/index.htm$ https://thedj.com.au/testimonials/ [R=301,L]
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://thedj.com.au/ [L,R=301]</ifmodule> END HTTPS Redirection Plugin BEGIN WordPress <ifmodule mod_rewrite.c="">RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]</ifmodule> END WordPress RewriteCond %{HTTP_HOST} ^mrdj.net.au$ [OR]
RewriteCond %{HTTP_HOST} ^www.mrdj.net.au$
RewriteRule ^/?$ "https://thedj.com.au/" [R=301,L] RewriteCond %{HTTP_HOST} ^mrdj.com.au$ [OR]
RewriteCond %{HTTP_HOST} ^www.mrdj.com.au$
RewriteRule ^/?$ "https://thedj.com.au/" [R=301,L] RewriteCond %{HTTP_HOST} ^thedjs.com.au$ [OR]
RewriteCond %{HTTP_HOST} ^www.thedjs.com.au$
RewriteRule ^/?$ "https://thedj.com.au/" [R=301,L] RewriteCond %{HTTP_HOST} ^theperthweddingdjs.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.theperthweddingdjs.com$
RewriteRule ^/?$ "https://thedj.com.au/" [R=301,L] RewriteCond %{HTTP_HOST} ^thedjs.net.au$ [OR]
RewriteCond %{HTTP_HOST} ^www.thedjs.net.au$
RewriteRule ^/?$ "https://thedj.com.au" [R=301,L]0 -
404 to 301 redirects is there a limit?
Hi We've just updated our website and have binned out alot of old thin content which has no value even if re written. We have a lot of 404 error on WMT and I am in the process of doing 301 redirects on them. Is there a limit to the number of 301 the site should have?
Technical SEO | | Cocoonfxmedia0 -
Redirect effecting ranking?
I manage the SEO for several different regions which are also based on the same site e.g. example.com/au, example.com/us The /us site has pretty good rankings and changes I'm making to the site are having an impact. The /au site has really bad rankings, even though much of the content is the same. (The /uk site is also awful but we had an issue with 4,500 duplicate pages which were only resolved last week). Crawl diagnostics are only showing 1 major error for a 404 response, I'm receiving a domain authority of 43 and A grade page ranking for some of our targeted keywords. I could believe that this isn't necessarily going to get us a top 10 rating but I would have thought we would be in the top 50, especially for branded keywords. Could the lack of ranking be to do with how our domain redirects? If you go to example.com.au you are taken to the home page rather than being redirected to example.com/au. Once you head to an internal page the URL changes to example.com/au/page
Technical SEO | | ahyde0 -
HTTP status code 302
When running Seomoz crawl report, I saw a link site https://www.vietnamvisacorp.com/?req=apply-visa with status code 302 and empty title tag Is this an error? and what should I do to fix this problem? Thank you,
Technical SEO | | JohnHuynh0 -
Enable cookies temporary redirect
We have a ton of warnings - over 10 k - that are paths that SEOMOZ is getting redirected to an enable cookies page - but anyone with cookies enabled is not. Does this matter?
Technical SEO | | JohnBerger0 -
Redirect
Hello, I need to redirect just the homepage of my blog somewhere. So blog.com But there are other redirects in there and I don't want to override them. So blog.com/post.html How do I just redirect the homepage of wordpress page without redirecting all the other pages. This is what I did that recreated the issue. redirect 301 / blog2.com Thanks! Tyler
Technical SEO | | tylerfraser0 -
301 Redirect?
Sometimes I want to redirect pages on my site. Like a search result: http://www.inthelighturns.com/memorials/catalogsearch/result/?q=hearts to a page designed for what they're searching for: http://www.inthelighturns.com/hearts.html There's no real worry about transferring page rank and this may not be a permanent redirect. Just a "I want this page to show this page for some time" kind of redirect. What's the best solution? Thanks Tyler
Technical SEO | | tylerfraser0