
301 Redirecting all pages on Subdirectory
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.
Example:
.com/blog/beach-cleanup-september-19/
.com/blog/crazy-communidad-party-friday-jan-22/
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
-
emptee -
[ 1 ] Thanks
Signature★★★ Supercharge GSA Search Engine Ranker With PA and DA. Rank Like it's 2012 Again ★★★Is CloudFlare COSTING You Business?{{ DiscussionBoard.errors[10078163].message }} -
-
Daones -
Thanks
SignatureDiverse Link Building Package Get Improved Rankings That Stick - 20% Cheaper Prices to WF MembersPurchase High PR Contextual Links - Boost Your Rankings Today!Manual Web2.0 Creation + Unique Content And Drip Feed Links{{ DiscussionBoard.errors[10078173].message }} -