Refactoring URLs to group by app.