Hello everyone. This is my first post on Magento. In this post i will show you how to skip base url validation issue in Magento installation.
How to skip Magento base url validation
While installing magento in the local server, it will ask us to enter the base url under the “Web access options” section. If you enter http://localhost/magento , it will throw you the following error, Please enter a valid URL. Protocol is required (http://, https:// or ftp://).
So we need to skip this base url validation or else we need to edit our vhost file to set a virtual host. In this tutorial we are going to see how to skip magento base url issue, may be in another post i will post how we can set a virtual host to pass this step.
To skip the base url validation, we need to open the following file,
Find the text box with the name $config[‘unsecure_base_url’], and remove the validate-url class from the text box.
Save the file and continue with the installation.
Now you can proceed further to magento installation with the local url.