Skip to content

Documentation

Extensive Documentation for PowerPack & WooPack to help you with common questions and issues.

PowerPack

  1. Home
  2. Docs
  3. PowerPack
  4. Modules
  5. Content Grid
  6. How to Fix Page Redirecting on Clicking Pagination?

How to Fix Page Redirecting on Clicking Pagination?

If you’re facing the issue with redirection on pagination then it could be happening due to canonical redirects.

This is very old and known issue in WordPress, you can find the details here – https://core.trac.wordpress.org/ticket/15551
To fix this behaviour, we need to disable the canonical redirects for custom post type singular page. So, we added the following code in the theme’s functions.php file where “project” is the slug of the CPT:

Please note, canonical redirects is default functionality that WordPress performs on every singular page of custom post type and it has nothing to do with Content Grid.

Was this article helpful to you? Yes No

How can we help?

×