Book Image

Magento Search Engine Optimization

By : Robert Kent
Book Image

Magento Search Engine Optimization

By: Robert Kent

Overview of this book

Table of Contents (15 chapters)
Magento Search Engine Optimization
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Adding rel=next/prev to our category pagination


Although we should set our category pages to display a canonical tag, we can also implement another feature to declare to search engines our next and previous pages when search spiders are crawling our paginated product listings.

Much like the canonical tag, this markup is aimed at letting search engines know that the pages being displayed are not meant to be interpreted as duplicate content but are instead intended to help customers navigate between lists of items.

There are a few ways to implement this code into our templates, but the most common is to add our next and previous elements only on our category pages and within the <head> tag.

A good tutorial on how to implement these next and previous elements can be found at the following link (inchoo): goo.gl/PbOFhc.

Tip

I would recommend adapting this technique and incorporating it into layout XML and its own template file rather than pasting it directly into head.phtml.

Once implemented...