WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Image Widget] Linking Image to an external URL (6 posts)

  1. eeekstreet@gmail.com
    Member
    Posted 4 years ago #

    How do I link an image to an external URL?
    I enter the correct url when uploading the image but when I test it on my page it directs me to:
    http://www.myurl.com/www.externalurl.com
    Which obviously doesnt work... Seems like its only set up to link to image file or an internal Post URL.
    Please help

    http://wordpress.org/extend/plugins/image-widget/

  2. Peter Chester
    Modern Tribe
    Posted 4 years ago #

    prefix the url with http://

    http://www.externalurl.com is not a valid url.
    http://www.externalurl.com is a valid url.

  3. Peter Chester
    Modern Tribe
    Posted 4 years ago #

    if my answer works for you, i'd greatly appreciate it if you could close this thread. thanks!

  4. klkirk
    Member
    Posted 4 years ago #

    Hi Peter,
    I seem to be having the same issue. I have tried to link my image to a page on my site. I have used the entire url copied directly from the url bar and it always sends me right back to the upload site, not the page I want. when I examine your answer above I am not seeing the difference between the valid and invalid examples you give. They look exactly the same to me. Can you help> thanks. Kathy Kirk

  5. Peter Chester
    Modern Tribe
    Posted 4 years ago #

    Hi Kathy. For some reason the forum has automatically corrected my example. Let me try again:

    invalid: www.externalurl.com
    valid: http://www.externalurl.com

    If you don't prefix with http:// then the browser assumes the url is a page on your site and will effectively link to: http://yoursite.com/www.externalurl.com

  6. Peter Chester
    Modern Tribe
    Posted 4 years ago #

    arg!!! It auto corrected again. Let me try this another way.

    invalid: www . externalurl . com
    valid: http : // www . externalurl . com

    but without the weird spacing.

Topic Closed

This topic has been closed to new replies.

About this Topic