-
otherwhirlParticipant
Hi,
The current URL location for the image in my slider is: “http://mysite.com/hidden/mysite-6/40630/”I’d like to either mask the image location and/or use a custom URL like:
“http://mysite.com/blah-blah-blah/”How can I do this?
Thanks
Daniel TaraKeymasterYou can’t obfuscate a link that is publicly available when a page is loaded. What you can do is prevent hotlinking by only serving the image if the referrer comes from your site (try this plugin). That won’t prevent people from stealing your image by inspecting the source code though.
otherwhirlParticipantHi Daniel,
The purpose wasn’t to stop others from stealing pics as much as it is having a better looking URL and to be able to redirect users to a different link location.
Hopefully, this plugin will help me achieve this.
Thanks
Daniel TaraKeymasterYou can move the entire wp-uploads directory to a different path. You just need to specify it in Settings → Media under Full URL path to files. You’ll have to manually move the contents of the wp-uploads folder after changing this setting. This website uses that setting. If you take a look, all images are stored under https://www.onedesigns.com/media/. To do that we changed the setting of Store uploads in this folder to
../media
and of Full URL path to files tohttps://www.onedesigns.com/media
. Basically the Store uploads in this folder setting denotes the relative path and Full URL path to files the absolute path. The last setting was necessary to avoid paths likehttps://www.onedesigns.com/wp/../media
(notice thewp/..
part that means to parse to the wp folder and then move one level up again).otherwhirlParticipantHi I’m TOTALLY confused by your last reply to my question.
Maybe I didn’t explain it as best I could.
All I want to do is simply redirect users who click on the slider image to a specific URL of my choice, not the actual location of the image. Make sense?
Thanks again!
- This reply was modified 9 years, 10 months ago by otherwhirl.
otherwhirlParticipantHi,
So I think you meant I could use this format?
<img”https://slider-image.cm/images/pic.jpg”/>But where exactly would I paste this? I tried in the actual post, butthe slider just disappeared.
Thanks!
p.s.
I pasted an example of the code i used but it was removed by your forum π
http://www.mediafire.com/view/6khs50759l4xvnc/Slider_image_forum_posts.png- This reply was modified 9 years, 10 months ago by otherwhirl. Reason: links were removed
- This reply was modified 9 years, 10 months ago by otherwhirl.
You must be logged in to reply to this topic.