Explain me how do I prevent my images from being hot-linked by another website?
Answer / Shivam Rathaur
To prevent hotlinking of images, you can edit your .htaccess file and add the following code:nn# Disable image hotlinkingnRewriteEngine OnnRewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www.)?yoursite.com[n/]*$
RewriteRule .(jpg|jpeg|png|gif)$ - [F,NC]
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a permalink on wordpress?
What are link in wordpress?
What is post type?
Explain what are the positive aspects of wordpress?
What are some good themes?
How do I get rid of softaculous?
Explain me what is the procedure to call a constructor for a parent class?
Is wix or wordpress better?
Are there any limitations to a WordPress website?
Is wordpress better than html?
Can we set specific page to be displayed as homepage and different for blog posting in wordpress cms?
How do I change the site admin name?