I want to redirect the url if it contains the string like /blog/abcd.../
to blog listing page i.e. /blog page
. I used a to code in htaccess file.
Redirect 301 /blog/abcd http://www.example.com/blog
But the browser says Too many redirect
error. I think Wordpress also do a redirection for blog single post that is /blog/abcd
to /abcd
. Can we force htaccess to do redirect if url contains /blog/
to blog listing page.