Pagination Rel Links

Developer

Simon Andersohn

3rd Party (Free)

3 downloads (last 90 days)

MIT License Download v1.4.2

EE Version Support

  • ExpressionEngine 2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Extension

Tags

This extension enables you to add next and prev rel links to paginated pages for SEO and navigation purposes.

Pagination Rel Links creates HTML link elements with rel=“next” and rel=“prev” to indicate the relationship between component URLs in a paginated series.

To activate this extension, go to Addons > Extensions and click Install.

Once installed you can change these settings:

     
  • Enable redirect to first page where pagination is not found
  •  
  • Page number prefix: add a prefix to page numbers in titles
  •  
  • Page number suffix: add a suffix to page numbers in titles
  •  
  • Display first page number in titles? i.e. Omit Page #1 in #123;pagination_rel_links:page_num} tag

Simply place the following tags within the HTML head area to output the full link tag:

{pagination_rel_links:prev}
{pagination_rel_links:next}

An example output would be:

<link rel=“prev” href=“http://www.example.com/articles/P10” />
<link rel=“next” href=“http://www.example.com/articles/P30” />

You may also use the following tags to only output the URL and URI:

Outputs full link tags:

{pagination_rel_links:prev}
{pagination_rel_links:next}

Outputs pagination URI - Example: articles/P30
{pagination_rel_links:prev_uri}
{pagination_rel_links:next_uri}

Outputs pagination URL: http://www.example.com/articles/P30
{pagination_rel_links:prev_url}
{pagination_rel_links:next_url}

Displays the page number for use in browser titles and elsewhere:
{pagination_rel_links:page_num}

Note: These tags can also be used in NSM Better Meta settings.

Extension Settings

     
  • Page number prefix: adds a prefix to page numbers in titles
            Example result: ” - Page ” could have a title as “My News Listing[ - Page #]”
  •  
  • Page number suffix: add a suffix to page numbers in titles
            Example result: ” of listed pages” could have a title as “My News Listing - [# of listed pages]”
  •  
  • Display first page number in page_num tag?
            Enable this to show the Page Number on the first paginated page (default=No)
  •  
  • Enable redirect to first page where pagination is not found?
            This will help avoid out-of-range pagination problems which automatically redirects to the first page.
            i.e. where the url has P100 but pagination only goes up to P50
  •  
  • Store pagination strings to allow for cached pages (experimental)
            The problem exists where pagination rules cannot be accessed after they have been cached (with e.g. CE Cache)
              This attempts to circumvent this problem while still being able to display the pagination_rel_links tags

Installation: copy files to system > expressionengine > third_party

Download Pagination Rel Links

EE Support Downloads Add-On Version Release Date
2.4.0+ Download 1.4.2 Feb 13, 2016

Hooks Used

If the add-on is an extension, and ties into ExpressionEngine's core files, it will use ExpressionEngine hooks. We are listing any hooks the add-on uses for developers to have an easier time locating other add-ons that they can reference for their own work.

  1. channel_module_create_pagination
  2. template_post_parse

This entry was created February 15, 2016, 10:54 am.
This entry was last updated February 15, 2016, 1:48 pm.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!