Rel=“next” and rel=“prev” on category pages and galleries
-
Hi there,
I am running an WordPress blog and i was looking a couple of days on the source code of the categories. From a SEO point of view would make sense to include into the header of the categories the rel=“next” and rel=“prev” tags ?
Same question would be for the image galleries . Should i add the rel=“next” and rel=“prev” tags on the image galleries ? So for example if i upload 10 images to a gallery, the user will check the post and see the gallery. It will click on an image and will redirected on the attachment page of that displays that image > from where he can click next to see the next image or prev for the previous image. Therefore should i add the rel=“next” and rel=“prev” tags here too ?
Many thanks
-
hi Brady,
No - there are different pages like this
http://www......../bmw/gallery/img1
http://www......../bmw/gallery/img2
http://www......../bmw/gallery/img3
... -
Yes, the canonical included with the rel next and prev is fine.
I'm just not sure the gallery of images is an appropriate use of real next/prev. Are all these images on one page? If so, I'm not sure those html elements are necessary.
-
Thank you for the reply.
Regarding the category: Yes it has multiple blog posts and I already implemented in the correct way according to what you are saying.
Regarding the gallery: there are multiple pages of images (pagination) within the gallery. What is chaning in general is only the image but the text will remain almost the same everywhere.
This is the way i implemented the rel next / prev and canonical:
rel prev for http://............ page_image1.html
rel next for http://............ page_image3.html rel canonical for http://............ page_image2.html (the actual page).Is that correct ? Or should i remove the rel canonical and let only the rel prev and next ?
This question camed in my mind after reading a post on searchengine land that says:
"You can use these attributes for article pagination, product lists, and any other types of pagination your site might have. The first page of the series has only a rel=”next” attribute and the last page of the series has only a rel=”prev” attribute, and all other pages have both. You can still use the rel=”canonical” attribute on all pages in conjunction." [link to the article]
-
While I'm just going off of your description, you shouldn't need rel="next" and rel="prev" pointing from one category page to another. However, if you're talking about one category that has multiple pages of blog posts, for instance, then yes, I'd definitely recommend adding those tags to help search engines understand the relationship between that pagination. Just make sure they're implemented in the .
Here's Google's webmaster central blog post on the matter: http://googlewebmastercentral.blogspot.com/2011/09/pagination-with-relnext-and-relprev.html. I'd read, memorize, and then bookmark.
Again, I'm not totally sure what you mean by the description of the image gallery. However, if there are multiple pages of images (pagination) within the gallery, then yes, add the rel="next" and "prev" tags there, as well. If there are lots of images, your best bet might be creating a "View All" page you could combine that as the canonical URL along with your rel="next" and "prev." That may be excessive given your website though.
I don't think you need the link element tags pointing from one image to another, that's not really how the rel="next"/"prev" elements were meant to work. But that should get you jump started with your understanding! Let me know if you have any other questions.
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
-
Pages automatically generated
Hello, I use the divi theme and got pages that were automatically generated with images. Is google going to penalise me because of those and consider it is thin content ? Should I remove those ? Thank you,
Intermediate & Advanced SEO | | seoanalytics0 -
What to do about endless size pages
I'm working on a site that sells products that come in many different sizes. One product may come in 30 sizes.The products themselves are identical, except for the size. There are collections pages that are all of several kinds of product in a particular size and then there are individual product pages of one product the specific size. Collections pages for widgets size 30 is the same content as widgets size 29. A single product page for gold-widget-size-30 is the same content as the single product page gold-widget-size-29. To make matters worse, they all have the same tags and very little written content. The site is in Shopify. Last month there were almost 400 pages that produced visits on organic, mostly in the 1 to 4 per month range, but all together about 1000 visits. There are several hundred more that produced no traffic in organic, but are duplicate (except for size) and part of this giant ball of tangled string. What do you think I should do? Thanks... Mike
Intermediate & Advanced SEO | | 945010 -
Duplicate Pages #!
Hi guys, Currently have duplicate pages accross a website e.g. https://archierose.com.au/shop/cart**#!** https://archierose.com.au/shop/cart The only difference is the URL 1 has a hashtag and exclamation tag. Everything else is the same. We were thinking of adding rel canonical tags on the #! versions of the page to the correct URLs. But Google doens't seem to be indexing the #! versions anyway. Does anyone know why this is the case? If Google is not indexing them, is there any point adding rel canonical tags? Cheers, Chris https://archierose.com.au/shop/cart#!
Intermediate & Advanced SEO | | jayoliverwright0 -
I've seen and heard alot about city-specific landing pages for businesses with multiple locations, but what about city-specific landing pages for cities nearby that you aren't actually located in? Is it ok to create landing pages for nearby cities?
I asked here https://www.google.com/moderator/#7/e=adbf4 but figured out ask the Moz Community also! Is it actually best practice to create landing pages for nearby cities if you don't have an actual address there? Even if your target customers are there? For example, If I am in Miami, but have a lot of customers who come from nearby cities like Fort Lauderdale is it okay to create those LP's? I've heard this described as best practice, but I'm beginning to question whether Google sees it that way.
Intermediate & Advanced SEO | | RickyShockley2 -
Internal linking between categories
Is it necessary to do internal links between the same categories of a website ( Let's say Ihave a category about shoes and in the category I have a page about boots and one about sandals ( should the page boots be accessible from the page sandals and the other way round or is the back button going back to the section shoes enough ) ? If internal links between the same category ( sandals to boots ) are needed/recommended is it also a good practice to do site wide links between categories ( shoes and and bags for example ) Because by reading google recommendations "Make a site with a clear hierarchy and text links. Every page should be reachable from at least one static text link" I am not sure if they are talking about breadcrumbs or text links i am kind of lost ... Thank you,
Intermediate & Advanced SEO | | seoanalytics0 -
Links to Facebook pages
I would like to ask if anyone has any knowledge regarding linking to a company's facebook page. I have built a few links to a client's facebook page in an effort to have it rank better in SERPs. I just learned that unlike twitter and linkedin, it is apparently not possibly to directly link to facebook pages. At least it is not possible from a search engine's perspective. If you follow any facebook page link while you are not logged into facebook, you are redirected to the facebook home page. I can't think of any way around this obstacle. I'd love some clever solution such as providing a URL which includes a basic dummy facebook login but there is nothing I am aware of to achieve this result. Does anyone have any ideas on this topic?
Intermediate & Advanced SEO | | RyanKent0 -
Good category pages - do you have examples?
Hello all. Currently doing a major update to my e-commerce website which sells tractor spare parts. I would like to optimize the category pages, which feature the parts from a particular manufacture of tractor parts. Does anyone have good examples of well optimized product page which do not have a detrimental effect on the visual quality of the site? It is important to see the products. The best I have found is: http://www.simplyelectricals.co.uk/ but I sure a better solution must exist Thanks David
Intermediate & Advanced SEO | | DavidLenehan0 -
Should I be using rel canonical here?
I am reorganizing the data on my informational site in a drilldown menu. So, here's an example. One the home page are several different items. Let's say you clicked on "Back Problems". Then, you would get a menu that says: Disc problems, Pain relief, paralysis issues, see all back articles. Each of those pages will have a list of articles that suit. Some articles will appear on more than one page. Should I be worried about these pages being partially duplicates of each other? Should I use rel-canonical to make the root page for each section the one that is indexed. I'm thinking no, because I think it would be good to have all of these pages indexed. But then, that's why I'm asking!
Intermediate & Advanced SEO | | MarieHaynes0