Forum Moderators: phranque
Hi Guys,
Im currently on with a project to simplify my website and bring all my content into 1 database. The downside of this is that quite a few of my urls will change and therefore I need a 301 redirect for this. This is the type of url I am trying to redirect
mydomain.co.uk/north-east-fishing-news/a-bass-wins-redcar-open/
will be redirected to
mydomain.co.uk/a-bass-wins-redcar-open/
As you can see, the sub folder "north-east-fishing-news" will be removed from the url and all post files will now reside in the root. There are roughly 1000 similar urls that need redirecting in the same way. Is there a simple piece of code I can put in my htacess to do this please ?