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
-
Is it better to optimise for several keywords/keyword variations on one page, or create sub categories for those specific terms?
I've done a fair of research to try to find the answer to this, but different people seem to give very different opinions, and none of the info I could find is recent! I'm working with a company that produces a range of industrial products that fit into 6 main categories, within this categories, there are types of products and the products themselves. Prior to my involvement most of the content was added to the product pages and very little was added to the overall category page. The structure works like this: Electronic devices > type of device > products The 'type of device' category could be something like a switch, but within that category are 3/4 different switch types...leaving me with 11 or 12 primary keyword/phrases to aim for as each switch is searched for in more than one way. Should I try to rank for all of those terms using that one category page? Or should I change the structure to something like: Electronic devices > type of device > sub-category/specific variation of device > product This would mean creating a page for each variation to have a more accute focus for a small number of phrases..but it also means I've added another step between the home page and the products. Any advice is welcome! I'm worried I'm overthinking it!
Intermediate & Advanced SEO | | Adam_SEO_Learning0 -
Duplicate pages and Canonicals
Hi all, Our website has more than 30 pages which are duplicates. So canonicals have been deployed to show up only 10 of these pages. Do more of these pages impact rankings? Thanks
Intermediate & Advanced SEO | | vtmoz0 -
New page not being picked up
Hello, We have created a new page for truck rentals but for some reason it does not seem to be picked up. See this report: http://screencast.com/t/npYqeoa5gq The page is: https://www.globecar.com/en/montreal-truck-rentals but our main site is being pickedup instead vs the competition that has their truck page showing up. Can anyone help me understand? Thanks, Karim
Intermediate & Advanced SEO | | GlobeCar1 -
How I can improve my website On page and Off page
My Website is guitarcontrol.com, I have very strong competition in market. Please advice me the list of improvements on my websites. In regarding ON page, Linkbuiding and Social media. What I can do to improve my website ranking?
Intermediate & Advanced SEO | | zoe.wilson170 -
Should we show(to google) different city pages on our website which look like home page as one page or different? If yes then how?
On our website, we show events from different cities. We have made different URL's for each city like www.townscript.com/mumbai, www.townscript.com/delhi. But the page of all the cities looks similar, only the events change on those different city pages. Even our home URL www.townscript.com, shows the visitor the city which he visited last time on our website(initially we show everyone Mumbai, visitor needs to choose his city then) For every page visit, we save the last visited page of a particular IP address and next time when he visits our website www.townscript.com, we show him that city only which he visited last time. Now, we feel as the content of home page, and city pages is similar. Should we show these pages as one page i.e. Townscript.com to Google? Can we do that by rel="canonical" ? Please help me! As I think all of these pages are competing with each other.
Intermediate & Advanced SEO | | sanchitmalik0 -
URL structure for categories, sub categories and products
Hi, I'm looking for some advice about URL hierarchy and the best way to structure URLs for SEO with regards to categories, sub categories and product pages. The way the site is set up displays the URLs as such, example: 1. /badge-accessories/ 2. /badge-accessories/plastic-wallets/ 3. /badge-accessories/plastic-wallets/clear-flexible-wallets/ I am questioning whether it would be best to keep it like this (which the site developers are suggesting) or change to something like: 1. /badge-accessories/ 2. /plastic-wallets/ 3. /clear-plastic-flexible-wallets/ Or something like: 1. /badge-accessories/ 2. /plastic-wallets/ 3. /plastic-wallets/clear-flexible-wallets/ Any advice would be appreciated. Thanks
Intermediate & Advanced SEO | | Kerry_Jones0 -
Rel=Canonical to Longer Page?
We've got a series of articles on the same topic and we consolidated the content and pasted it altogether on a single page. We linked from each individual article to the consolidated page. We put a noindex on the consolidated page. The problem: Inbound links to individual articles in the series will only count toward the authority of those individual pages, and inbound links to the full article will be worthless. I am considering removing the noindex from the consolidated article and putting rel=canonicals on each individual post pointing to the consolidated article. That should consolidate the PageRank. But I am concerned about pointing****a rel=canonical to an article that is not an exact duplicate (although it does contain the full text of the original--it's just that it contains quite a bit of additional text). An alternative would be not to use rel=canonicals, nor to place a noindex on the consolidated article. But then my concern would be duplicate content and unconsolidated PageRank. Any thoughts?
Intermediate & Advanced SEO | | TheEspresseo0 -
Merging your google places page with google plus page.
I have a map listing showing for the keyword junk cars for cash nj. I recently created a new g+ page and requested a merge between the places and the + page. now when you do a search you see the following. Junk Cars For Cash NJ LLC
Intermediate & Advanced SEO | | junkcars
junkcarforcashnj.com/
Google+ page - Google+ page the first hyperlink takes me to the about page of the G+ and the second link takes me to the posts section within g+. Is this normal? should i delete the places account where the listing was originally created? Or do i leave it as is? Thanks0