I am converting a custom built site into a WordPress site. Unfortunately, the custom site has a completely different URL structure, which we would like to set up 301 redirects for. The site receives upwards of 300k unique visitors per month, therefore we wish to minimise the loss of traffic - especially the articles linked to from major news sites throughout the World.
So, an example of a URL is as follows:-
.com/front/news/view.asp?cate=A06&subcate=D006&cNewsArti=201403402
There are a total of around 30 categories (including parent and child), but close to 11,000 articles.
I was thinking we could use the cNewsArti values as the 'post_slug' which would be easily imported into WP. However, this would still leave difficult in the remainder of the string, as we will likely use the following WP permalink:-
/%category%/%postname%/
My thoughts are this would produce:-
.com/categoryname/subcatname/201403402
So, how could I do the rest of the redirection? As you can gather, creating custom 301's for 11,000 articles is probably out of the equation.
Any ideas?
Thanks in advance!
Edit:- The data has already been imported into the WordPress database, which all works OK - we assigned all posts to a bunch of random categories to ensure everything works in Wordpress as expected, no problems found.