• Resolved abazeed

    (@abazeed)


    Hello team,

    The Website field that should accept a valid URL raises an error if the URL doesn’t start with the scheme (http, https).

    Can you please update your validation rules to accept such URLs?
    Like: facebook.com, https://www.facebook.com

    Best Regards,

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hello @abazeed

    I hope you’re well today!

    Strictly speaking, a valid URL has to contain “scheme” or, at least, be “protocol-relative” (but that makes it impossible to know whether it actually is a website URL or e.g. FTP URL).

    You can, however, disable validation and that will let visitors use addresses without scheme.

    Kind regards,
    Adam

    Thread Starter abazeed

    (@abazeed)

    Hello @wpmudev-support8,

    Thank you for your reply.

    I do agree with you, but instead of disabling the validation, we can have an option to bypass the scheme.

    I tried to disable the validation but still need to use the full URL! Is it a bug?

    Best Regards,

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello there @abazeed

    I just tested that and the Website validation doesn’t return any error if I use
    https://example.com
    or
    example.com

    I tried to disable the validation but still need to use the full URL! Is it a bug?

    Can you please let me know how you test this? As I wasn’t able to replicate.

    Warm regards,
    Dimitris

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @abazeed

    I hope you are doing well!

    We haven’t heard back from you for a while now so we’ve marked this ticket as resolved. If you do have any followup questions or require further assistance feel free to reopen it and let us know here.

    Kind regards,
    Nastia

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Accept URL that doesn’t start with http/https’ is closed to new replies.