Fine Web Design Tricks Along With the SEO Options

Pagination, ie the distribution of content on different pages, poses great challenges for webmasters and SEOs. Pagination can lead to unwanted effects. There are already numerous solutions for multi-page texts and contributions. But what about multi-page home pages, blogs or category pages?

Pagination is not equal to pagination

First, a short excursion into already discussed solutions for pagination with multi-page texts. In each case, the basic idea is that an object or an article is distributed over several different pages and URLs. However, the individual parts belong to one unit. This one would like to tell Google, Bing and the other search engines. There are two proven ways of doing this: First, using the rel Canonical attribute, or second, using the rel = “next” or rel = “prev” attributes. The latter is quite well described in the official Google blog. Google also provides a detailed video about the solutions:

SEO for pagination on start pages and category pages

However, a very different problem arises for home pages and category pages that span multiple pages. Example: The start page of a blog contains a list of recent blog posts. However, there are more blog posts than can be viewed on the first page. The older contributions are available via pagination. Now you would like to have the following pages, which can be called by pagination, not in the index of the search engines – for the following reason: Because the start page then multiple indexed, and in the worst case for each pagination, duplicate Content. With the Affordable Web Design all these options are needed to be there.

One possible solution is to set the meta-robot tags before the pages are delivered to the browser so that only the first page is set to “index, follow” and the subsequent pages are set to “noindex, follow” . This is the cleanest solution in the case shown. This indexes only the first page. The links on the following pages will still be followed up.

Here’s an example of how to check the URL for a pagination parameter and how to set the robots tag accordingly. This solution is based on Joomla1.5 , but can be implemented in a similar way for other content management systems, unless they already bring a solution to the problem anyway. The changes shown must be inserted in the file html.php. This is located in the directory / libraries / joomla / document / html. The corresponding PHP code looks like this:

$paginierung=$_GET[‘start’];

if ($paginierung> 0) {

$this->setMetaData(‘robots’, ‘noindex, follow’ );

} else {

$this->setMetaData(‘robots’, ‘index, follow’ );

}

Explanation: It checks to see if the URL parameter named “start” exists. This is used in Joomla for pagination. If this URL parameter is set, it is a next page, not the first page, and the attribute “noindex, follow” is set. Otherwise, “index, follow” is written.

Comments are closed.