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
-
Search results meta error?
Hello I am new here. When I search my brand name "amazingbeautyhair" in google it shows like this,I have meta description,why it shows like this?how to fix please? sdWx6
On-Page Optimization | | yitong0 -
Redirects for new site new urls?
If redoing a site and updating some of the url's for SEO should you do permanent redirects for the old sites url's ? Using WordPress. I saw that the Yoast Pro plugin allows you to do this inside WordPress , is this the best way? Suggestions.? I know there are old articles written out on the web pointing back to the what will be soon old url's so just wondering what's the best way to go about this. Thanks Scott
On-Page Optimization | | scott3150 -
Static pages with dynamic content: Good for SEO?
I wanted to know ones thoughts on reducing duplication by creating a static page with a few dynamic fields. Has anyone done this? If 75% of a page is static and 25% is dynamic, is that a good ratio? It's an idea I am thinking about to combat duplication issues affecting ecommerce pages. Some ecommerce sites generate a new page for a small change like size, but the content is the same. What if you could create a single static page and depending on the size chosen, only those fields connected to the size are dynamic? Everything else remains the same. For caching purposes, you always submit a cached page with default values. Wouldn't this work? Isn't this a solution for duplicate ecommerce pages? It would also help in ranking, rather than multiple external links across duplicate ecommerce pages, it would just be to a single page.
On-Page Optimization | | Bio-RadAbs0 -
WordPress Crawl Errors
I recently added wordpress to my site and get the following errors: Duplicate Page Content http://agrimapper.com/wordpress/ http://agrimapper.com/wordpress/index.php How do I define the canonical page on a .php. 4XX (Client Error) http://agrimapper.com/wordpress/index.phpindex.php Any ideas where the 4XX error comes from. Thanks.
On-Page Optimization | | MSSBConsulting0 -
Getting Google to provide a different URL in SERP
For one of my client’s sites, I have several keywords that are ranking in the top 5 positions. However, they have a high bounce rate. I believe this is because Google is delivering a different URL than the page we have optimized for the keyword. Any suggestions on ways I can get Google to present our preferred page?
On-Page Optimization | | TopFloor0 -
Custom Landing Page URLs
I will begin creating custom landing pages optimized for long-tail keywords. Placing the keywords in the URL is obviously important -- Question: would it be detrimental to rankings to have extra characters extending past the keyword? I'm not able to use tracking code, but need to put an identifier in the URL (clp = custom landing page). For example, is "www.domain.com/silver-fish.html" going to perform meaningfully better than "www.domain.com/silver-fish-clp.html" for the kw phrase "silver fish"? There will obviously be a lot of on-page optimization in addition to just structuring the URLs. Thank you. SIMbiz
On-Page Optimization | | SIMbiz0 -
To many links on a single page Error
I've seen it a few times where you should have less then 100 links per page to help crawling unless your a massively authoritative website. But what happens when your a large ecommerce website with categories and sub categories, you could have a category called 'computers' with a drop down list containing lots of sub cat links. Whats the solution to this? Cheers
On-Page Optimization | | activitysuper1 -
Creating optimized content: how to standardize the process?
Hello there, we are creating the new content for a website. For each web page we have created a “Pages file” to have the advantage of the spell checker. For each page, in the “Pages file” we have written the title tag (70 characters) and the meta description (155 character), so we have a kind of “template” like this in every page: title tag meta desciption text content (included the alt of the images inside the text) Every page is optimized for a single keyword/keyword phrase. What we wanna know from you guys if does exist a kind of “best practice” to test keyword density to avoid keyword stuffing penalities. In our case we opted to use “Pages” as editor, does exist a “standard Numbers/Excel spreadsheet” to understand if a keyword is over optimized in a page and so might look spammy? And in your opinion guys, what’s the best way to standardize the process of creating optimized content? Take care and thank you in advance for sharing your experience. YESdesign guys.
On-Page Optimization | | YESdesign0