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
-
Solved Would my site's DA be transferred if I redirect to another?
Re: How to create link from google redirect? I am thinking of changing my domain name from https://experts.ng to https://expertsclan.com and wondering if my DA could be transferred to the new site
Moz Pro | | dodo1234 -
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 -
Redirecting back to initial redirect.
Hello, I have an example site A.com that is currently being redirected to site B.com. My client is having issues with B.com and finding that there is more equity in site A.com. The client now wants us to have A.com as the site. What is the best way to proceed with implementing A.com without hurting search in the long run, since A.com was initially a 301 redirect to B.com. How should I proceed in this redirection back to A.com What pitfalls should I look out for that could affect SEO and how should I input safegaurds to protect myself? I appreciate the support
Moz Pro | | arousta0 -
Open Site Explorer detects links from a site that redirects to it? How is this possible?
I was checking external links to a site: scte-brasilien.de/ and was wondering why there are so many links pointing from another domain (reisen-nach-brasilien.com/) although it redirects to scte-brasilien.de/? So when checking the redirecting domain OSE knows its redirecting... The URL you've entered redirects to another URL. We're showing results for scte-brasilien.de/ since it is likely to have more accurate link metrics. See data forreisen-nach-brasilien.com/ instead? How is this possible? best regards
Moz Pro | | inlinear
Holger0 -
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 -
My page has a 302 redirect and I don't know how to get rid of it!
I use Internet Officer tool to see the 302 redirect but I check the redirects in the CPanel and there are none. In the .htaccess there are none either. I don't know where else to look 😞 The url is http://servicioshosting.com Can you guys help me? I can't set up a campaign because Google can't crawl the website. I can't setup the Facebook OpenGraph because of the redirect. error.jpg
Moz Pro | | vanessacolina0 -
Is Open Site Explorer ignoring 301 redirects now?
I just recently saw a huge decline in the page rank of a specific page on my site. When I investigated a bit further I noticed that the drop in page rank looks like it is due to the fact that most of the links to the page come through 301 re-directs from an old page. I know you just made a change to Open Site Explorer. Did you change the way that you are treating 301 re-directs? Here is the new page: http://www.justjen.com/shop/big-sister-tshirts.htm Here is the old page: http://www.justjen.com/shop/bigsister-tshirts.htm Up until the last couple of days, the new page was showing the links from the old page in your cache, but as of today, the new page is only showing the links that go to it, not the links to the old page that is re-directed to it. If there was a change recently, was this intentional (trying to replicate the search engines better) or is it an oversight or database anomaly?
Moz Pro | | gametv0 -
Can I see backlinks to a specific URL, not including redirects?
Does SEOMoz have a tool that allows me to see backlinks to a specific URL sans redirected URLs? So, URL is www.website.com/search. www.website.com redirects to www.website.com/search and I want to see how many people have linked to the /search, the resulting URL. Thanks for any help! Erin
Moz Pro | | ErinTM0