eeekstreet@gmail.com
Member
Posted 2 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/
Peter Chester
Member
Posted 2 years ago #
prefix the url with http://
http://www.externalurl.com is not a valid url.
http://www.externalurl.com is a valid url.
Peter Chester
Member
Posted 2 years ago #
if my answer works for you, i'd greatly appreciate it if you could close this thread. thanks!
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
Peter Chester
Member
Posted 2 years ago #
Hi Kathy. For some reason the forum has automatically corrected my example. Let me try again:
invalid: http://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
Peter Chester
Member
Posted 2 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.