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');
remove_filter('template_redirect', 'redirect_canonical');
Comments
Post a Comment