All posts by ahmad

Loading...

The function is setup to use get_query_var() to check for page/paged but I cannot seem to make the URL /page/2 work. Instead I get a 301 redirect back to the continent. I can use /2 which is picked up by get_query_var('page') but not sure if this is the correct solution (and I need to be able to use this with the_posts_pagination. You may think to use 'page' instead of 'paged', but that will not work either, because once the 'page' variable is intended to be used for multi-page singular post (page separation using <!--nextpage-->) and once the post is not multi-page, WordPress will redirect the request to the URL without '/page/XX/'.This is what happens when you name your query variable $wp_query.citation goes here!

Published: September 29, 2025 by ahmad

Subscribe to our newsletter

Enter your name and email for the latest updates

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

About Experian Marketing Services

At Experian Marketing Services, we use data and insights to help brands have more meaningful interactions with people. As leaders in the evolution of the advertising landscape, Experian Marketing Services can help you identify your customers and the right potential customers, uncover the most appropriate communication channels, develop messages that resonate, and measure the effectiveness of marketing activities and campaigns.

Visit our website

Subscribe to our newsletter

Stay up to date on the latest industry news and receive expert tips from our marketing experts.
Subscribe now!