So I have a client who no longer wants their blog active, so their site has 160 pages not found all of the blog posts.
So basically I want to redirect everything located under /blog to the root domain. The issue is it is only stripping the /blog from the address but keeping intact actual blog post URLs.
It only removed the /blog from the above addresses so its still a 404.
What rule is it to redirect and match everything beyond /blog to redirect it to the root domain?
I already tried adding this:
RedirectMatch permanent ^/blog/(.*)$ domain.com