How to fix page redirection 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.