I've recently converted a site from Joomla to WordPress. I'm down to polishing up the old Joomla site links that don't match the WordPress structure, and I've run into a problem where I need some help: tags. The Joomla site had close to 500 tags, and all the tags were indexed in Google and other search engines. The Joomla tags links have a structure like
while the WP site tag links look like
What I really would like to do is have a 301 redirect that points all the old Joomla tags to their equivalents on the new WP site instead of doing several hundred htaccess entries, one for each tag
The tags themselves are the same on both sites, so it's not a matter of renaming tags or getting tags with different names to match up.
But I can't figure out how to make the redirect work. I've tried doing things like
"Redirect 301 http://example.com/components/tag/*.html http://example.com/tag/"
"Redirect 301 http://example.com/components/tag/*.html http://example.com/tag/*/"
for the redirect target. None of those work.
Quite frankly I don't know my way around regex very well, so my trying to find a solution would be mostly an Easter egg hunt where there may or may not even be any Easter eggs. So I'm hoping someone on the WP forum will be able to help me out or point me to a solution.
Thanks for any help,