Remove WordPress Redirecting to Nearest Matching URL

Add the below php code to your active theme’s functions.php:
remove_filter('template_redirect', 'redirect_canonical');

Comments

Popular posts from this blog

Apexcharts not re-render after ajax call - Solved

Solved - $(...).select2 is not a function