redo routes for wp integration