Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

Niklan/seo_pager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SEO Pager

What this module does, I think is a hack. Especially for the page offset. It only exist because some clients want these changes.

What does this module do:

  • Correct page numbers in query:
    • Default: Page 2 = ?page=1
    • Fixed: Page 2 = ?page=2
  • Fixed core pager Url generation which respects Outbound path processors.
  • Removed query arguments from pager links which is not part of url. This means, Views exposed filters and sorts will not present in pager links, if they remain to default values. If sort or filters was selected, they will be there.
  • Added Views Display Extender plugin, allows you to enable rel="prev" and rel="next" meta-tags.

Install

  • Download and install as usual.
  • If you want use Views plugin:
    • Structure - Views - Settings - Advanced
    • Enable SEO pager display extender.

WARNING

  • Not tested with AJAX.
  • Not tested with multiple pagers on the same page.

About

Drupal 8 module to improve pager SEO.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages