301 in HTACCESS for all Wordpress Blog URLs
Posted: Mon Dec 03, 2018 3:23 am
Hi there
We are about to transfer someone's Weebly website to Wordpress, but their Blog is badly written in the URL. Rather than just /news or /blog, it has their company title in it, and it's causing them SEO issues.
Their blog goes back to 2011 - so using a tool to manually edit each one is a no-no.
Would a simple HTACCESS 301 like this work?
It needs to capture the main blog page, plus categories, plus the blog posts themselves.
Thanks
Simon
We are about to transfer someone's Weebly website to Wordpress, but their Blog is badly written in the URL. Rather than just /news or /blog, it has their company title in it, and it's causing them SEO issues.
Their blog goes back to 2011 - so using a tool to manually edit each one is a no-no.
Would a simple HTACCESS 301 like this work?
Code: Select all
RewriteRule /sitename-blog/$ /blog/? [R=301,L]Thanks
Simon