Fixing internal urls to make it match friendly urls