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 on the single page of custom post type.

This is a very old and known issue in WordPress, you can find the details here – https://core.trac.wordpress.org/ticket/15551

To fix this behavior, we need to disable the canonical redirects for a custom post type single page. Please add the following code in the theme’s functions.php file where “project” is the slug of the CPT and you must replace it with the slug of your CPT:

Please note, the canonical redirect is the default functionality that WordPress performs on every single 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?

×