Dynamic URL Parameters + Woocommerce create 404 errors
-
Hi Guys,
Our latest Moz crawl shows a lot of 404-errors for pages that create dynamical links for users? (I guess it are dynamic links, not sure).Situation: On a page which shows products from brand X users can use the pagination icons on the bottom, or click on: View: / 24/48/All.
When a user clicks 48 the end of the link will be /?show_products=48
I think there were some pages that could show 48 products but do not exist anymore (because products are sold out for example), and that's why they show 404's and Moz reports them.How do I deal with these 404-errors? I can't set a 301-redirect because it depends on how many products are shown (it changes every time).
Should I just ignore these kind of 404-errors? Or what is the best way to handle this situation? -
Hi Dirk,
Thanks for letting me know I will post a new one to see if someone can help me out!Best,
Joost -
Joost
You might want to open a new question (on how to filter) - this question is too deep down the list & marked as answered so I fear nobody is going to see your additional question.
rgds,
Dirk
-
Hi Dirk,
I tried to find some more info last night regarding this issue (the practical part, how to implement it).
But haven't found a solution yet. Thanks for your help!! Really appreciate it.If someone knows please let me know!
Joost -
Hi Joost,
Unfortunately we don't use Wordpress in our company - I know the basics of the Yoast plugin but I am not really an expert in how to configure it. Maybe somebody else on Moz can help you on how to configure it. My guess would be to fill in the full url - you could always try & see if this works.
There are quite a lot of users on the forum who use Yoast - so I guess they should be able to help you with the configuration.
rgds,
Dirk
-
Or can I just use the canonical input field from the category (when you hit edit under the category)?
I assume that is not specfic enough and means a canonical for the "whole" category, right? -
Probably the easiest way to deal with this is to chose one of these pages as the main page & use canonicals on the other versions to the main one.
So - suppose you would chose _/?show_products=all _as the main page - than page /?show_products=48 would have /?show_products=all as canonical.
As you also use pagination - the option of the canonical offers the advantage that you can put the /?show_products_all as canonical url on all the pages (check also this page: https://support.google.com/webmasters/answer/1663744?hl=en)Another option would be to put a nofollow on the other display options. So by default people would arrive on /?show_products=24 - the links on show 48 - all would be of type "nofollow'
You might want to check this article: http://googlewebmastercentral.blogspot.be/2014/02/faceted-navigation-best-and-5-of-worst.html - the scope of the article is a bit larger than the question you as here but some of the points are applicable.
Hope this helps;
Dirk
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
-
Language for URLs on new international websites
We are due to launch our new site and it will be targeting an international market. We have setup these new sites in the following way www.website.com/fr/content-goes-here www.website.com/es/content-goes-here This has been done in conjunction with setting up the parameters in GWT and making sure it is optimised for the language itself, and that countries search engine. But our web dev team have said that the URLs at the moment will be in english and not the native language, so if you were on the french version of our site you would see the url in english and not french. Will this negatively affect the site for SEO, and who else would think it would be negative from a usability perspective? Any help is appreciated.
On-Page Optimization | | RyanCrawf19840 -
URL Question
This url looks bad: http://www.patrickmunoz.com/#!classes/c1vw1 And when you click around the page change doesn't actually occur, it's a fade into the next page. I think this is a major problem for rankings. Although pages are crawled: https://www.google.com/search?q=site%3Ahttp%3A%2F%2Fwww.patrickmunoz.com%2F&oq=site%3A&aqs=chrome.2.69i57j69i58j69i59l3j69i61.3548j0j7&sourceid=chrome&espv=210&es_sm=122&ie=UTF-8 When I search for a simple page - "patrick munoz FAQs" nothing comes up:
On-Page Optimization | | tylerfraser
https://www.google.com/search?q=site%3Ahttp%3A%2F%2Fwww.patrickmunoz.com%2F&oq=site%3A&aqs=chrome.2.69i57j69i58j69i59l3j69i61.3548j0j7&sourceid=chrome&espv=210&es_sm=122&ie=UTF-8#q=patrick+munoz+|+FAQs Do you think this is a bad url configuration? Thanks! Tyler0 -
How to deal with 404 errors from deleted categories?
I was reorganizing my blog and deleted several categories. Of course now Google Webmasters is coming up with a bunch of 404 errors. How do I fix this?
On-Page Optimization | | blogger20130 -
Page Titles For Local - Help on URL Structure
Trying to figure out the best way to construct localized urls for the dental website. For example, If I have the URL:
On-Page Optimization | | Czubmeister
http://www.kooskidental.com/services/cosmetic-dentistry/
and If I want to make it local to the city I would use: http://www.kooskidental.com/services/richardson-tx-cosmetic-dentistry/ But what happens is that I have other options off the menu like: http://www.koooskidental.com/services/richardson-tx-cosmetic-dentistry/teeth-whitening/ But if I am trying to rank for richardson tx teeth whitening, I would have to do http://www.koooskidental.com/services/richardson-tx-cosmetic-dentistry/richardson-tx-teeth-whitening/ But that's pretty long and ugly and I don't think I need richardson-tx in their twice. If I am trying to rank for richardson tx cosmetic dentistry and richardson tx teeth whitening, what would be the best structure for the url's?0 -
How do I cure 'overly dynamic' url's on an e-commerce website?
I've just launched an e-commerce website selling hosiery and have received aa report from SEO Moz regarding overly dynamic URL's. How do I resolve this issue - in words of one syllable please, I'm new to SEO! Here are three exapmles of over 120: http://www.yosassy.com/index.php?route=product/category&path=1&page=2 http://www.yosassy.com/index.php?route=product/product&filter_tag=&page=1&product_id=57 http://www.yosassy.com/index.php?route=product/product&filter_tag=&page=1&product_id=64 Thank you.
On-Page Optimization | | lindsayjhopkins0 -
Slash at the end of a url
I keep reading contradicting information, so I figured I'll ask here. What's the best practice for slash '/' at the end of a URL? Should it be idealchooser.com/search/laptop/ or idealchooser.com/search/laptop (no trailing slash)? The options: 1. Accept both equally 2. Accept 1 and redirect the other with 301 3. Accept 1 and treat the other as a wrong URL returning 404 Which would be the best for SEO? Thank you.
On-Page Optimization | | corwin0 -
Framed Pages and Dynamic Pages
Has anyone else had experience with different CMS's for Ecommerce . Ones that create static pages and others that dynamically create pages. What differences have you seen with rankings on google with the two. Here are two examples of sites using static framed pages and one with a system that dynamically creates pages - http://www.gardeningexpress.co.uk/ - static frames and http://www.floraselect.co.uk - dynamically
On-Page Optimization | | onlinemediadirect0 -
301 redirect and then keywords in URL
Hi, Matt Cutts says that 301 redirects, including the ones on internal pages, causes the loss of a little bit of link juice. But also, I know that keywords in the URL are very important. On our site, we've got unoptimized URLs (few keywords) in the internal pages. Is it worth doing a 301 redirect in order to optimize the URLs for each main page. 301 redirects are the only way we can do it on our premade cart For example (just an example) say our main (1 of the 4) keywords for the page is "brown shoes". I'm wondering if I should redirect something like shoes.com/shoecolors.html to shoes.com/brown-shoes.html In other words, with the loss of juice would we come out ahead? In what instances would we come out ahead?
On-Page Optimization | | BobGW0