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
-
Unsolved Bug in site crawl analysis - 308 redirect flagged as temporary
Hi, we have some 308 redirects on our website, which are permanent redirects, but the site crawler is flagging them as temporary currently. Screenshot 2022-02-10 14.24.26.png
Moz Pro | | pm-mbc0 -
Unable to get into top 20 even when pages are optimized and most crawl issues resolved
I have a few keyword phrases I've been trying to rank in the top 20 for (starting place). I have optimized for a few different phrases, ranging in keyword difficulty, but no matter what I do I can't seem to get in. In many cases, the exact same results show up for many different variations of the phrases I'd like to rank for. I've read about how google tries to match user intent and so if it decides those results are more relevant then it will always show them, but does that mean that no matter what I do I will always be behind them? The main question I have is: how should I proceed? Should I stop optimizing pages and focus on link acquisition? Or go through and make sure there isn't a single crawl issue? Or focus on optimizing for longer tail keyword phrases? It just feels like I've done so much of what the moz tools have recommended and I'm seeing very little movement over the past couple of months, if anything I see dips in performance after optimization. Thanks in advance!
Moz Pro | | Dynata_panel_marketing1 -
Fixing temporary redirects
Hi all, I recently had an issue whereby the Moz crawl was showing up thousands of instances of duplicate content. I solved (or so I thought) this issue on a Magento-based eCommerce website by enabling canonical URL tagging on product pages and category landing pages. This reduced the instances of duplicate content dramatically (by the thousands!) however it created a new issue of thousands of temporary redirects. All of the research I have done has suggested that I should be setting these as permanent redirects somehow, but I am not sure how to do this or how to resolve this issue. Any help will be greatly appreciated. Thanks very much. Josh
Moz Pro | | Mediademon0 -
Question on redirect and internal link count
After crawl I saw that dup content came from domain.com/index.php and domain.com. I was going to redirect one of them but im curious which way to go. The /index.php has domain auth of 19, the other 17, so not big difference. Domain.com has 2 external linking domains and index.php has 1. The big difference is in the internal link counts where index.php has 76 and the other only 4. So should I direct index.php to / or the other way around?
Moz Pro | | satoridesign0 -
How to delete/redirect duplicate content
Hello, Our site thewealthymind(dot)com has a lot of duplicate content. How do you clear up duplicate content when there's a lot of it. The owners redid the site several times and didn't update the URLs. Thank you.
Moz Pro | | BobGW0 -
Impact of 301-redirected domains on OSE Metrics
When looking at the OSE metrics (DA, PA, Number Linking RDs etc.) is it purely based on OSEs evaluation of the specific domain or will it take into account links that have been 301-redirected to the domain?
Moz Pro | | bjalc20110 -
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 -
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