I can usually sort out any rewrites but I
am struggling on this one, following the redesign of my pages and wondered how best to go about it would be;
All my pages have changed format so have changed from the following format;
Code:
http://www.mydomain.co.uk/company_nasty_term_company312.html
to....
Code:
http://www.mydomain.co.uk/company_seo_term_company312.html
So the stuff before and after "nasty_term" stays the same, just "nasty_term" has changed to "seo_term". I presume there are a few *'s a few ^'s and a few $1 or $2 to be added in the rule, but I
am scuppered if I can get it to work.
Can anyone shed any light? The best I could come up with (but doesnt work) is;
Code:
RewriteRule ^.*_nasty_term_*.html http://www.mydomain.co.uk/$1_seo_term_$2.html
I need to change it to help with the Search Engines that have the old "nasty_term" in their indexes.