How to resolve recurring 302 redirects?
-
In my Moz site crawl there is a fluctuating number of 302 redirect pages that don't physically exist - most are through a 'compare product' option. The number of 302s varies significantly by how many pages Rogerbot has crawled - the more pages crawled, the higher the number of 302s, so I'm pretty sure it's the 'compare product' that's causing the issue.
I can't find a way to remove the compare product button so I need another way to resolve it. I can;t canonicalise the pages as they don't exist as such. Does anyone have any ideas?
-
In that case I wouldn't worry
If you want to crawl a version of your site without those parameters Screaming Frog allows you to exclude any specific parameters by going to configuration > URL rewriting.
Best of luck!
-
Hi Sergey,
You're spot on with the question and to be honest I feel a bit daft for not thinking of parameters before! (Doh!) But it doesn't seem to be an issue with Google - only other bots like Moz and Screaming Frog seem to pick it up which strikes me as strange.
Thanks for your answer though - very helpful!
-
Hi there!
Good question. First of all, it sounds like the 302 is necessary for the functionality of the site. If I'm understanding correctly, a user has the option to add an item on your site to a "compare" cart and if a user does that the page reloads (with the item in the "compare" cart) as a 302. Often times this is done with a parameter.
So it looks something like this?
/example-product/ > 302 > /example-product/?compare=list
If this is the case, I would try taking that parameter and letting Google know not to crawl pages that have it in. You can do this in Google Search Console. Here's a great guide from Google on parameters, exclusions, and what we can do with them.
Please let me know if I misunderstood the question. Hope that helps!
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
-
Redirect Chain
I moved my site to https a few months back using cloudflare and all went well site is now running on https fine I have recently also signed up to MozPro and it says I have a redirect chain on http://rogerlapin.co.uk I am not sure where to start looking to fix this? Site is running on Wordpress Also not sure how big of an issue it is as site is working ok? Bit confused as i used this http://www.redirect-checker.org/index.php and it reports no issues?
Moz Pro | | Rogerperk0 -
Need Help with www and non-www redirect
Hi everyone, I've been looking around the forum and found some similar topics but none of them have solved my problem. Anyway, I'm new to SEO and found that when I use Open Site Explorer for the www version of my site I see the links directed to my page, but none of my twitter stats show up. When I do the same for my non-www version. I see my twitter stats, but no links. Facebook seems unchanged. Also, the Page Authority is much higher for the www (I assume because of the links) It is my understanding that it doesn't matter which version of the domain is used, I just need to pick one and stick with it (on Google Webmaster Tools, etc.). And that I also need to do a 301 redirect for the version that I'm not using. The issue now is that I have a 301 redirect, and when I type in my url in any version (http, https, www, non-www) it all redirects in the browser without issue. So i know users are getting to the right page, but the Open Site Explorer still sees them as 2 different sites. My concern is that if Open Site Explorer sees it this way then Google may see it this way as well and I could be missing out on potential rankings. I'm currently doing the redirect in the .htaccess file. The redirect looks like this: RewriteEngine On
Moz Pro | | opstart
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://mydomain.com/$1 [R=301,L] Any Ideas on what I need to do to properly 301 redirect the site so that my preferred version can get credited with the links,twitter, and Page Authority stats? Also, I'm using wordpress and it has the URL set to the non-www version of the site. However, I think I would like to change this to the www version because most of the links are directing to www, and I also think people are more familiar with that format. Anyway, sorry for the long post. Any help would be greatly appreciated. Thanks.0 -
The right GA account is not populating as an option. Can I redirect to a GA account not listed?
When setting up a campaign, Moz provides a number of Google Analytic options, however not the one that pertains to the specific URL for the campaign. Is there a setting I need to change to allow for the right GA account to populate? Or, can I enter this manually?
Moz Pro | | mmetzger0 -
Temporary Redirect Notice regarding Wordpress
Hello, Under the warnings in Moz, we have 44 temporary redirect warnings showing up because we moved our blog from timelinkblogs.wordpress.org to our subdomain blog.timelink.org within Wordpress. Wordpress indicates that these were permanent 301 redirects, but Moz is indicating that they are temporary. We want to be sure that they are permanent so we retain the SEO credit. Can someone please confirm that these are permanent redirects i.e. http://blog.timelink.com/2012/02/17/true-stories-time-and-attendance-pay-rules-2 Moz is showing the following- it has a "trackback" added to the URL? http://blog.timelink.com/2012/02/17/true-stories-time-and-attendance-pay-rules-2/trackback/ Thanks!
Moz Pro | | AndreaKayal0 -
Getting Redirect Loop and Oauth Error When Adding Facebook Page
Hi all, I keep getting the following error when trying to add my Facebook page. It worked fine in the past and has suddenly stopped working: The webpage at https://graph.facebook.com/oauth/authorize?client_id=142287725855094&redirect_uri=http%3A%2F%2Fpro.seomoz.org%2Fcampaigns%2F173488%2Fsocial%2Fcreate%2Ffacebook%2F127833296954.html&scope=read_stream%2Cuser_videos%2Cuser_photos%2Cuser_photo_video_tags%2Cmanage_pages%2Cread_insights has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer. I've tried clearing cache and deleting cookies. Any other ideas I would try? Thanks!
Moz Pro | | kenc1380 -
Issue with temporary redirects
I have an issue with my temporary redirects. The seomoz campaign is showing many pages are redirecting to the homepage. However, the pages it identifies are old pages and have been deleted and are not on the sitemap. How do i solve this?
Moz Pro | | CompleteOffice0 -
301 redirect in SEOMoz campaigns tool
I did a 301 redirect to another domain and I would like to change the domain name in SeoMoz campaigns tool to continue to track the keywords, is it possible ?
Moz Pro | | mhenriques0 -
302 Redirects on Xcart Store
The crawl finished on the site easydecals.com and I'm getting over 4,000 warnings with 302 redirects with urls like this. /How-To-Install-A-Wall-Decal.html?xid_33e42=01f75b1ca2a53108d78f5c598ffd99e6 What can I do to remove or stop the spider from hitting those?
Moz Pro | | i1560