Link rel=”next” missing on a CPT Custom Query Archive
-
Hello,
I’m sorry if this is a duplicate. I did my best to search for a solution of the problem both here and on stackoverflow and failed miserably.
Basically the linked page uses a custom WordPress Query to list the article posts as well as produce the bottom pagination.
However for some reason the global $wp_query variable max_num_pages property returns 0, in the end causing the plugin not render the corresponding <link rel=”next”> tag within the <head> element.
Has anyone figured out how to sort such an issue?
I do know that I can hook into aioseop_next_link filter and modify the link myself, however I was wondering if there was any other / simpler solution.
Regards,
RafalThe page I need help with: [log in to see the link]
- The topic ‘Link rel=”next” missing on a CPT Custom Query Archive’ is closed to new replies.