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
-
Is this a correct use of 302 redirects?
Hi all, here is the situation. A website I'm working on has a small percentage of almost empty pages. Those pages are filled "dynamically" and could have new content in the future, so, instead of 404ing them, we automatically noindex them when they're empty and remove the noindex once they have content again. The problem is that, due to technical issues we can't solve at the moment, some internal links (and URLs listed in sitemaps) to almost empty pages remain live also when pages are noindexed. In order not to waste Google crawler's time, sending it to noindexed pages through those links, someone suggested us to redirect those pages to our homepage with a 302 (not a 301 since they could become indexable again, so it can't be a permanent redirect). We did that, but after some weeks Search Console reported an increase in soft 404s: we checked it and it is 100% related to the 302 implementation. The questions are: is this a correct use of 302 redirects? Is there a better solution we haven't thought about? Maybe is it better to remove 302s and go back to the past situation, since linking to noindexed pages isn't such a big problem? Thank you so much!
Technical SEO | | GabrieleToninelli0 -
Redirecting homepage to subdirectory
Any issues with 301 redirecting a site's homepage to the English version subdirectory? Example: Original homepage: www.mysite.com New homepage: www.mysite.com/en/ The site is very old and very authoritative and trusted with lots of traffic.
Technical SEO | | SoulSurfer80 -
4xx fix
Hi
Technical SEO | | gavinr
I have quite a lot of 4xx errors on our site. The 4xx occurred because I cleaned poor URLs that had commas etc in them so its the old URLs that now 4xx. There are no links to the URLs that 4xx. What is the best way of rectifying this issue of my own making?! Thanks
Gavin0 -
Redirects for new website
Hi Moz community,
Technical SEO | | JSimmons17
I'm a fairly new SEO Specialist with a brand new website. We initially had a very basic holding website until the fully functional website was completed. I have to do some redirects as we have both .html and .php files & we don't want to lose SEO value for specific pages (like the index, news, etc). I also want to redirect from a www url to a non-www url. I am trying to accomplish redirects with the following code: RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.mywebsite.com [NC]
RewriteRule (.*) http://mywebsite.com/$1 [R=301,L] RedirectMatch 301 /index.html (.*).(php|html) http://mywebsite.com/index.php RedirectMatch 301 /cupcakes-slideshow/glutenfree-slideshow.html (.*).(php|html) http://mywebsite.com/gluten-and-glutenfree.php RedirectMatch 301 /press.html (.*).(php|html) http://mywebsite.com/news-and-reviews.php Please let me know if I am on the right track. Thanks so much in advance!0 -
Redirects & 404 Errors
Hi everyone, I'm probably missing some GLARING error here, but I'm hoping you can help me! We recently built a new website on Wordpress and attempted to use a redirect plugin to take care of some old pages. The issue we are having though, is that when you click an old link you are not automatically redirected and instead are given a 404 error page. Then, when you try to view another page (by clicking a navigation item), every pages shows a 404 error. I implemented a redirect plugin, however it seems to start to work then still throws the 404 page. I believe this has something to do with the htaccess file which has the standard WP rewrite info in there... The way the old site was setup was kind of janky, so wondering if it's on that side or if I'm just going crazy. An old URL example would be http://orchards inn.com/index.php/specials and the new page is http://orchardsinn.com/special-offers. Sometimes the redirect seems to work, and others it actually throws a 404 page, then every other page in the navigation is 404'd as well. Your help is GREATLY appreciated!!
Technical SEO | | marisolmarketing0 -
301 Redirect - Technical Question
I have recently updated a site and for the url's that had changed or were not transferring I set up 301 redirects in the htaccess file as follows This one works - Redirect 301 /industry-sectors http://www.tornadowire.co.uk/fencing But this one doesn't - Redirect 301 /industry-sectors/equine http://www.tornadowire.co.uk/fencing/application/equestrian/ What it does is change the url to this instead http://www.tornadowire.co.uk/fencing/equine ..... which returns a 404 page not found error The server is nginx based server and we have moved from a joomal platform to a wordpress platform I would be grateful for any ideas
Technical SEO | | paulie650 -
GWT, URL Parameters, and Magento
I'm getting into the URL parameters in Google Webmaster Tools and I was just wondering if anyone that uses Magento has used this functionality to make sure filter pages aren't being indexed. Basically, I know what the different parameters (manufacturer, price, etc.) are doing to the content - narrowing. I was just wondering what you choose after you tell Google what the parameter's function is. For narrowing, it gives the following options: Which URLs with this parameter should Googlebot crawl? <label for="cup-crawl-LET_GOOGLEBOT_DECIDE">Let Googlebot decide</label> (Default) <label for="cup-crawl-EVERY_URL">Every URL</label> (the page content changes for each value) <label style="color: #5e5e5e;" for="cup-crawl-ONLY_URLS_WITH_VALUE">Only URLs with value</label> ▼(may hide content from Googlebot) <label for="cup-crawl-NO_URLS">No URLs</label> I'm not sure which one I want. Something tells me probably "No URLs", as this content isn't something a user will see unless they filter the results (and, therefore, should not come through on a search to this page). However, the page content does change for each value.I want to make sure I don't exclude the wrong thing and end up with a bunch of pages disappearing from Google.Any help with this is greatly appreciated!
Technical SEO | | Marketing.SCG0 -
Should I change a 301 redirect?
I recently moved all the content from an old site to a new site on a new domain. I lost a significant amount of traffic as a result. There are 301 redirects for every page on the old site. Generally, these point to the same content as was on the relevant page of the old site. However, the 301 redirect for the homepage on the old site points to the homepage on the new site, not to the content from the old site homepage. I'm wondering whether to change the 301 to point at the content from the old site homepage. Any advice would be much appreciated.
Technical SEO | | seqal0