Hey guys, I'm having trouble regarding my website.
After setting up hotlink protection I noticed that all of my images are not showing up.
Here you can visit my website here.
Anyone knows how to fix this?
This is a discussion on Images not showing after setting up Hotlink Protection in the Website Management forum
Hey guys, I'm having trouble regarding my website.
After setting up hotlink protection I noticed that all of my images are not showing up.
Here ...
Hey guys, I'm having trouble regarding my website.
After setting up hotlink protection I noticed that all of my images are not showing up.
Here you can visit my website here.
Anyone knows how to fix this?
Well...
I don't mean to be a wiseguy - really - but, you didn't furnish much info.
On face value, if enabling hotlink protection is causing problems, disabling hotlink protection should fix the problems, no?
If you can be more specific, such as: what you're trying to accomplish, how you setup your hotlink protection, what the undesired effect has been, et cetera, maybe someone can walk you through it...
Interesting server stats, you got there, BTW!
DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.
Uh. Thanks btw.
I have solved the problem now.
I just deleted .htaccess and everything went back to normal
Simple solutions are sometimes the best place to start. It is good to hear that your issue is resolved. Vin DSL thanks for pointing out that when users post to forums with issues it is helpful to provide as much information as possible. That way it is easier to pinpoint and trouble shoot the problem more quickly.
kotaro535.
HotLink protection can be tricky. You say that you deleted the htaccess file. Are you sure that it was not needed for your website/forum? Typically htaccess houses some pretty important stuff, such as rewrites, etc.
Do you have a dedicated directory for images?
I see all your images are located in:
Index of /temp_files/images
The first thing you need to do is create an htaccess file in your images directory. Inside the htaccess file you need to have:
Options -Indexes
What this does is prevent people from seeing all your images in the directory. This is important.
Then in your same image directory, you need to create a robots.txt file and have in it:
User-agent: *
Disallow: /
this keeps the "HONEST" web crawlers from indexing your images.
As far as the actual hotlink protection, this can be done, but like VIN DSL said, we would need more information, and it can be tricky.
Hotlinking protection works fine, where most people have trouble is if they use sub-domains, or other forwarded domains.
Let me know, I would be glad to help ya.
That won't prevent a bot from crawling that directory. robots.txt has to be in the top level directory for your domain (example.com/robots.txt), in robots.txt you would specify what directories you don't want crawled.
There is a lot more options than that like wildcards, different rules for different user agents etc.Code:User-agent: * Disallow: /somedirectory/ Disallow: /anotherdir/
On a final note using this:
Will tell all bots not to index anything at all on your site.Code:User-agent: * Disallow: /
Last edited by thecoalman; 11-01-2011 at 01:56 AM.
Copyright © 2011 JaguarPC.com
Bookmarks