adapt urls