Mobile app version of vmapp.org
Login or Join
Murray432

: Google image index we have a few images currently being indexed by google and we want to remove them from the index. We have removed the .aspx page which linked to the image (but the image

@Murray432

Posted in: #Google #GoogleIndex #Html #Net

we have a few images currently being indexed by google and we want to remove them from the index. We have removed the .aspx page which linked to the image (but the image still physically exists on disk at the same location), so will google now automatcally update its records, to not show our image? Or do I need to delete the image aswell? thanks!

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Murray432

1 Comments

Sorted by latest first Latest Oldest Best

 

@Turnbaugh106

The most complete way is to prevent images being accessed by sites other than your sites domain. Many isp's offer an option to disable hotlinking, apache can be configured to do it or you can use htaccess.

htaccess

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+.)?yourdomainname.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*.(gif|bmp|png|jpe?g)$ /path/to/image/hotlink.gif [R=301,L]


Alternativly you can write the last line using the forbiden flag

RewriteRule .*.(gif|bmp|png|jpe?g)$ - [F]

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme