setono/sylius-pagination-plugin

A Sylius plugin that handles pagination for SEO purposes


README

Latest Version on Packagist Software License Build Status Quality Score

Add prev and next links to your Sylius paginated pages.

UPDATED: Google does not use prev/next links in ranking nor indexing. See searchengineland.com/google-apologizes-for-relnext-prev-mixup-314494

Installation

Step 1: Download the plugin

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

$ composer require setono/sylius-pagination-plugin

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Step 2: Enable the plugin

Then, enable the plugin by adding it to the list of registered plugins/bundles in config/bundles.php:

<?php
# config/bundles.php

return [
    // ...
    Setono\SyliusPaginationPlugin\SetonoSyliusPaginationPlugin::class => ['all' => true],
    // ...
];