.htaccess / 301 redirection question

Posted by John K on Pro Webmasters See other posts from Pro Webmasters or by John K
Published on 2012-09-16T18:39:53Z Indexed on 2012/09/16 21:53 UTC
Read the original article Hit count: 278

All my WordPress post URLs generate subdirectories with duplicate content and I do not know what regular expression to use to consistently 301 redirect domain.com/category/post/random-number/ to domain.com/category/post/ and domain.com/category/post/random-number/another-random-number/ also to domain.com/category/post/.

Here is an example of my problem:

© Pro Webmasters or respective owner

Related posts about htaccess

Related posts about Wordpress