select id, redirect from sf_404 where url like 'buy/house/mayo/westport/1-derryherbert-liscarney-wes240057'Would redirect