Title: URL without for attribute &#8220;http&#8221; not opening correctly
Last modified: November 28, 2020

---

# URL without for attribute “http” not opening correctly

 *  Resolved [sabo1](https://wordpress.org/support/users/sabo1/)
 * (@sabo1)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/url-without-for-attribute-http-not-opening-correctly/)
 * Hi,
 * I included an attribute #_ATT{Homepage} on my events-manager. Guests can insert
   an URL which will show up within the event details.
 * The problem is, when the guest enters an URL like this: [http://www.guestwebsite.com](http://www.guestwebsite.com)(
   without the “http”) the Link will not open correctly. The system then makes this
   Link: [https://mywebsite/event-manager/www.guestwebsite.com](https://mywebsite/event-manager/www.guestwebsite.com)
   which of course leads to an 404-error.
 * How can I fix it, that the link [http://www.guestwebsite.com](http://www.guestwebsite.com)
   will automatically turns into [http://www.guestwebsite.com](http://www.guestwebsite.com)
   or opens without putting my website address in front?
 * Im looking forward to a solution. Because right now, I habe to correct all these
   links manually.
 * Thank you.
    Sabo

Viewing 1 replies (of 1 total)

 *  Plugin Support [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * (@angelo_nwl)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/url-without-for-attribute-http-not-opening-correctly/#post-13753028)
 * Hi,
 * You can try this custom snippet – [https://pastebin.com/umTsf3jG](https://pastebin.com/umTsf3jG)
 * As for where to paste custom snippet – [http://wp-events-plugin.com/tutorials/how-to-safely-add-php-code-to-wordpress/](http://wp-events-plugin.com/tutorials/how-to-safely-add-php-code-to-wordpress/)

Viewing 1 replies (of 1 total)

The topic ‘URL without for attribute “http” not opening correctly’ is closed to 
new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/url-without-for-attribute-http-not-opening-correctly/#post-13753028)
 * Status: resolved