Try to fix root URL issues.