Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
I have a webpage protected with a password. That works well. But I do have a question about this. The pictures I used can be seen if you know the link. I assume that Google will find the images also. Example: www.website.com/rc_images/xxx.jpg How can I also protect the images on the protected page? |
||||
|
The built-in page protection only is for the page, it doen't protect the images, right. For that, I can recommend to use the .htaccess method. Do it like that: Create a sub folder where everything is in you want to protect. Like www.website.com/protected_folder/ For that subpage, you create a separate rocketcake project and upload everything into that folder. Then, you generate a .htaccess and htpasswd file and load it into that folder. There are several generators on the web which can do this for you. It's a bit tricky, but once you figured it out, it works nicely. |
||||
|
If it's just to prevent images of your website from appearing in Google search results, you could add a robots.txt file to the root directory of your server: User-agent: Googlebot-Image See also https://developers.google.com/se... |
|