Posts

Showing posts from February, 2017

Remove WordPress Redirecting to Nearest Matching URL

The solution is to add the below code to your theme’sfunctions.phpfile:
remove_filter('template_redirect', 'redirect_canonical');