add some hacks to the mixed-replace handler to get redirects to work
add some hacks to the mixed-replace handler to get redirects to work

natea/Miro-Community,pculture/mirocommunity,pculture/mirocommunity,natea/Miro-Community,pculture/mirocommunity,pculture/mirocommunity