I have just moved a site from IIS to Apache and from asp to PHP however I don't want to have dead links all over the place I been reading about rewriting with regex but have not been able to make it work basically I had URLs that looked like this


and now they are like this


I have this so far but it does not work

RewriteRule ^artman2/publish/([a-z]+) /([a-z]+)\.asp$

this part is always the same


and this part always changes /The-coming-fall-season/For-Fox-a-newfound-stability-this-fall.asp

any help is appreciated