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

Stop video playing when Bootstrap modal is closed