Title: website input doesn&#039;t work without http://
Last modified: August 21, 2016

---

# website input doesn't work without http://

 *  [tgrrr](https://wordpress.org/support/users/tgrrr/)
 * (@tgrrr)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/website-input-doesnt-work-without-http/)
 * Hi,
 * If a user enters [http://www.mywebsite.com](http://www.mywebsite.com) then it
   works. All other versions fail to work.
 * So [http://www.mywebsite.com](http://www.mywebsite.com) returns an error message
   
   mywebsite.com returns an error message.
 * I’ve checked the code, but can’t find a way to switch this off. This is actually
   quite urgent if you could get back to me that would be fantastic thanks.
 * [https://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/](https://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [donmik](https://wordpress.org/support/users/atallos/)
 * (@atallos)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/website-input-doesnt-work-without-http/#post-4642454)
 * It’s the way it works… If you select “Website” in Field’s type, you are using
   an HTML5 input with url type. This input requires a valid website url and this
   require “[http://&#8221](http://&#8221);.
 * If you don’t want to require [http://](https://wordpress.org/support/topic/website-input-doesnt-work-without-http/?output_format=md),
   you have to use a “Text box”.
 *  Thread Starter [tgrrr](https://wordpress.org/support/users/tgrrr/)
 * (@tgrrr)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/website-input-doesnt-work-without-http/#post-4642649)
 * If I use a text box, then the URL wont link to another site.
 * I understand that it’s the way you’ve built it, but it causes problems with other
   ways of typing in websites. From a user’s perspective: It would be better if 
   it was missing the ‘[http://&#8217](http://&#8217); to add it, rather than display
   an error message.
 *  Plugin Author [donmik](https://wordpress.org/support/users/atallos/)
 * (@atallos)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/website-input-doesnt-work-without-http/#post-4642653)
 * Hi,
 * You can use a filter to create the url if you want.
 * You don’t understand. I have not built it. The website html5 input is [a web standard from W3C](http://www.w3.org/wiki/HTML/Elements/input/url).
   It’s impossible to change… It’s how the field type “url” works… The “[http://&#8221](http://&#8221);
   is required for this type of field.
 *  Thread Starter [tgrrr](https://wordpress.org/support/users/tgrrr/)
 * (@tgrrr)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/website-input-doesnt-work-without-http/#post-4642664)
 * Hi Donmik,
 * Thanks for that, wasn’t aware of that standard particular standard.
 * Do you mean build a filter to automatically add the [http://](https://wordpress.org/support/topic/website-input-doesnt-work-without-http/?output_format=md),
   or turn the text into a link?
 *  Plugin Author [donmik](https://wordpress.org/support/users/atallos/)
 * (@atallos)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/website-input-doesnt-work-without-http/#post-4642678)
 * In the [faq](http://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/faq/),
   I explain how to create filter to change the way the value of fields are displayed.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘website input doesn't work without http://’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/buddypress-xprofile-custom-fields-
   type.svg)
 * [Buddypress Xprofile Custom Fields Type](https://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/buddypress-xprofile-custom-fields-type/)
 * [Active Topics](https://wordpress.org/support/plugin/buddypress-xprofile-custom-fields-type/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/buddypress-xprofile-custom-fields-type/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/buddypress-xprofile-custom-fields-type/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [donmik](https://wordpress.org/support/users/atallos/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/website-input-doesnt-work-without-http/#post-4642678)
 * Status: not resolved