select id, redirect from sf_404 where url like 'buy/apartment/westmeath/mullingar/2-harbour-court-friars-mill-road'Would redirect