Create wordpress blog redirects

Create wordpress blog redirects

Closed - This job posting has been filled and work has been completed.

Job Description

We need to edit the categories of our blog which is built in Wordpress.

We have 5 subcategories to the main category /blog.

These are:

http://www.craftmakerpro.com/blog/business-tips/
http://www.craftmakerpro.com/blog/free-stuff/
http://www.craftmakerpro.com/blog/marketing-tips/
http://www.craftmakerpro.com/blog/news/
http://www.craftmakerpro.com/blog/photography-tips/

Instead of these being subcategories to blog we want to change them to be main categories so they will become:

http://www.craftmakerpro.com/business-tips/
http://www.craftmakerpro.com/free-stuff/
http://www.craftmakerpro.com/marketing-tips/
http://www.craftmakerpro.com/news/
http://www.craftmakerpro.com/photography-tips/

As there is quite a lot of content within each of these categories we need to have regular expressions written to manage the 301 redirects for the category pages and also all teh posts wthin the categories.

ie:

http://www.craftmakerpro.com/blog/business-tips/6-ways-google-apps-can-streamline-handmade-business/

.....will end up becoming

http://www.craftmakerpro.com/business-tips/6-ways-google-apps-can-streamline-handmade-business/

and we would also need all subsequent posts under http://www.craftmakerpro.com/blog/business-tips/"post-title"; to 301 redirect to http://www.craftmakerpro.com/business-tips/"post-title";

What we require is for you to write the regex code for these 5 redirects.

We will implement and test it.

In order to be considered you must supply us a sample for one of the categories so we can implement and test to ensure that we hire the correct person.

Please supply the regex code for the 301 redirect of:

http://www.craftmakerpro.com/blog/business-tips/ to
http://www.craftmakerpro.com/business-tips/

which must also 301 redirect all subsequent pages