How to skip Magento base url validation (Please enter a valid URL. Protocol is required) issue in Magento installation

By | January 5, 2016

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.

skip Magento base url validation

skip Magento base url validation

Save the file and continue with the installation.

Now you can proceed further to magento installation with the local url.


13 thoughts on “How to skip Magento base url validation (Please enter a valid URL. Protocol is required) issue in Magento installation


    Asking questions are genuinely pleasant thing if you
    are not understanding anything entirely, except this piece of writing presents good understanding even.

  2. how to treat urticaria at home

    Hi I am so happy I found your blog page, I really found you by mistake, while I was researching on Aol for something else, Nonetheless I am
    here now and would just like to say cheers for a marvelous post and a
    all round interesting blog (I also love the theme/design), I don’t have time to read through it all at the minute but I
    have bookmarked it and also included your RSS feeds, so
    when I have time I will be back to read more, Please do keep up the excellent work.

  3. best knife sharpeners

    I think this is one of the most significant information for me.
    And i am glad reading your article. But want to remark on few
    general things, The web site style is ideal, the articles is really great :
    D. Good job, cheers

  4. Rhonda

    Thank you a bunch for sharing this with all of us you actually
    understand what you are talking about! Bookmarked. Kindly additionally
    visit my web site =). We could have a link trade arrangement between us

  5. Rocco

    hello there and thank you for your information – I’ve certainly
    picked up anything new from right here. I did
    however expertise some technical issues using this web site,
    as I experienced to reload the website a lot of times previous to I
    could get it to load properly. I had been wondering if your web
    host is OK? Not that I’m complaining, but slow loading instances times
    will sometimes affect your placement in google
    and could damage your high-quality score if ads
    and marketing with Adwords. Well I’m adding this RSS to my email and could look out
    for a lot more of your respective exciting content. Make sure
    you update this again soon.

  6. Pingback: Magento Remove zoom effect from product image - PhpKnowledgeBase

  7. Millie Cebula

    Perfectly pent written content, Really enjoyed looking at.

  8. MilanEMcdade

    excellent publish, very informative. I wonder why the other specialists with this sector will not realize this.
    You should continue your writing. I am confident, you’ve
    a fantastic readers’ base already!

  9. Vincent

    Hi, I do think your blog may be having internet browser compatibility problems.
    When I take a look at your blog in Safari, it looks fine however, if opening in IE, it has
    some overlapping issues. I merely wanted to provide you with
    a quick heads up! Aside from that, excellent site!

  10. Hilton

    Terrific article! This is the kind of info that are supposed to be shared around the net.

  11. Nola

    Hello there, just became alert to your blog through Google, and found that it’s really
    informative. I’m gonna watch out for brussels. I will appreciate
    if you continue this in future. Numerous people will be benefited from your writing.



Leave a Reply