Whats the best way to implement rel = “next/prev” if we have filters?
-
Hi everyone,
The filtered view results in paginated content and has different urls: example: https://modli.co/dresses.html?category=45&price=13%2C71&size=25
Look at what it says in search engine land: http://searchengineland.com/implementing-pagination-attributes-correctly-for-google-114970
Look at Advanced Techniques paragraph. do you agree? it seem like google will index the page multiple times for every filter variant.
Thanks,
Yehoshua
-
Just be sure that I understand what you're saying:
On pages like https://modli.co/dresses/elegant.html & https://modli.co/dresses.html you want to use rel next/rel previous.
On pages like https://modli.co/dresses.html?category=43&size=25 you plan to use a canonical to https://modli.co/dresses.html
Seem like a good strategy - the only minus is that you would not have a corresponding landing page for somebody looking for "red dress" (page exist on site but points to the generic dresses page). Not sure if these type of queries represent a search volume & if they would be important for your business.
rgds,
Dirk
PS You should check the H1 you use on your pages - on https://modli.co/dresses/elegant.html the H1 is "Elegant" - would be much better if it would be "Elegant dresses"
-
Hi Dirk,
I do not won't this pages to be accessible since then we will have lots of duplicate content.
Before i added canonical tags to all the category pages, lots of them where indexed by google (i have no clue way). Therefor we added the canonical.
What do you think of the following:
On all filtered pages have canonical tags to the main category page (the first one)
and category pages without filters have rel = “next/prev”.
what do you think?
Thanks,
Yehoshua
-
Hi,
You might want to check this article of Google on facetted navigation: http://googlewebmastercentral.blogspot.be/2014/02/faceted-navigation-best-and-5-of-worst.html
In your current set-up - Google isn't indexing pages of type https://modli.co/dresses.html?category=45&price=13%2C71&size=25 as these pages are only accessible using javascript (you can check this by crawling the site by using Screaming Frog or just using site:modli.co in Google) - so adding the rel next/previous will not change a lot for these pages.
If you want to make this pages accessible you will have to
- make this pages accessible using HTML links rather than js
- rewrite the parameters in your url's to make them more understandable for Search engines (https://modli.co/dresses.html?category=42 should become https://modli.co/dresses.html?category=elegant)
- use rel next/previous if pages are spread over multiple pages
- use canonical url's to eliminate parameters irrelevant for search (like size, price,...)
- eliminate potential duplicate content issues: both https://modli.co/dresses.html?category=42 & https://modli.co/dresses/elegant.html are showing elegant dresses
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
-
Is rel=prev/next necessary for ecommerce?
We are currently not using rel=prev/next for paginated categories. My predecessor instead canonicaled paginated pages back to the parent. This obviously needs to be fixed. The pages should self-canonical. Is using the parameter handling function of Google Search Console enough, or do we need to have our dev team implement rel=prev/next?
Intermediate & Advanced SEO | | Satans_Apprentice0 -
URL Rewriting Best Practices
Hey Moz! I’m getting ready to implement URL rewrites on my website to improve site structure/URL readability. More specifically I want to: Improve our website structure by removing redundant directories. Replace underscores with dashes and remove file extensions for our URLs. Please see my example below: Old structure: http://www.widgets.com/widgets/commercial-widgets/small_blue_widget.htm New structure: https://www.widgets.com/commercial-widgets/small-blue-widget I've read several URL rewriting guides online, all of which seem to provide similar but overall different methods to do this. I'm looking for what's considered best practices to implement these rewrites. From what I understand, the most common method is to implement rewrites in our .htaccess file using mod_rewrite (which will find the old URLs and rewrite them according to the rewrites I implement). One question I can't seem to find a definitive answer to is when I implement the rewrite to remove file extensions/replace underscores with dashes in our URLs, do the webpage file names need to be edited to the new format? From what I understand the webpage file names must remain the same for the rewrites in the .htaccess to work. However, our internal links (including canonical links) must be changed to the new URL format. Can anyone shed light on this? Also, I'm aware that implementing URL rewriting improperly could negatively affect our SERP rankings. If I redirect our old website directory structure to our new structure using this rewrite, are my bases covered in regards to having the proper 301 redirects in place to not affect our rankings negatively? Please offer any advice/reliable guides to handle this properly. Thanks in advance!
Intermediate & Advanced SEO | | TheDude0 -
Best Practices
Okay this would be a piece of cake for most of you out there.. What are the best practices once you add a page or piece of content on your website with a new keyword that you have never used before but plan to use it with every relevant new page you add. How do you ensure that Google will crawl that page? Secondly, if you add the new keyword in the old pieces of content/ pages you have already published by editing the content to suit that keyword, how would you ensure that it gets crawled my Google. Thanks in advance
Intermediate & Advanced SEO | | LaythDajani0 -
What's the best way to deal with deleted .php files showing as 404s in WMT?
Disclaimer: I am not a developer During a recent site migration I have seen a bit of an increase in WMT of 404 errors on pages ending .php. Click on the link in WMT and it just shows as File Not Found - no 404 page. There are about 20 in total showing in webmaster tools and I want to advise the IT department what to do. What is the best way to deal with this for on-page best practice? Thanks
Intermediate & Advanced SEO | | Blaze-Communication0 -
Value in adding rel=next prev when page 2-n are "noindex, follow"?
Category A spans over 20 pages (not possible to create a "view all" because page would get too long). So I have page 1 - 20. Page 1 has unique content whereas page 2-20 of the series does not. I have "noindex, follow" on page 2-20. I also have rel=next prev on the series. Question: Since page 2-20 is "noindex, follow" doesn't that defeat the purpose of rel=next prev? Don't I run the risk of Google thinking "hmmm….this is odd. This website has noindexed page 2-20, yet using rel=next prev." Even though I do not run the risk, what is my upset in keeping rel=next prev when, again, the pages 2-20 are noindex, follow. thank you
Intermediate & Advanced SEO | | khi50 -
Best way to clean up a nasty backlink profile?
A new client of mine sadly has a TON of terrible links (3800 links from 1500 domains) which are pointing to landing pages that have been created specifically for manipulating engines. Besides contacting these sites and asking to have the links removed the only solution I can think of it to delete these pages and let them 404. Obviously I am not thrilled about that but I'm not sure what else to do. Does anyone have any other ideas for how to clean up this backlink profile? Thanks
Intermediate & Advanced SEO | | LukeMontgomery0 -
Best way to de-index content from Google and not Bing?
We have a large quantity of URLs that we would like to de-index from Google (we are affected b Panda), but not Bing. What is the best way to go about doing this?
Intermediate & Advanced SEO | | nicole.healthline0 -
What are the best joomla seo plugins?
When optimizing a joomla site what is the best plugins etc for seo tweeking
Intermediate & Advanced SEO | | DavidKonigsberg0