fixed issue due to use of site_url instead of home_url resulting in automatic versioning not working