Redirect no product url’s to static url
If you prefer more control in coding, you may use request hook – test the WordPress query after it is being setup preg_match() – match /product/ keyword url_to_postid() – test if product url exists to build a checking when WordPress query is being setup. The advantage of code against .htaccess is that it is relatively … Read more