#StackBounty: #custom-post-types #ajax #pagination How to load custom post archives sub-pages with ajax?

Bounty: 50

I’d like to keep the pagination links for /page/2/, /page/373/, etc but instead of changing the URL on the browser i want everything to load on the archive main page.

Ideally all those paginated URLs should redirect to the first page of the archive.

I don’t want a “load more” button i want to keep the logic of pages but load them via ajax keeping url unchanged.

How can i do this? Any help is appreciated.


Get this bounty!!!