To post a new support question, click the Post New Topic button below.
Current Version: 5.2.5 | Sytist Manual | Common  Issues | Feature Requests

Please log in or Create an account to post or reply to topics.
You will still receive notifications of replies to topics you are part of even if you do not subscribe to new topic emails.

Passcode Protected Photos Showing Up In Image Search

c
63 posts
Mon Jun 19, 23 12:18 PM CST

I have galleries which contain password protected photos.

Once clients use the passcode, they see a page with an example image and text, followed by the uploaded photos.

Those example images, which are simply pasted into the text at the top of the page are appearing in searches for my website. Duckduckgo in particular shows more of them than a google image search.


Is there a way to avoid this, apart from not pasting images into the text box at the top of the password protected page?



16,855 posts (admin)
Tue Jun 20, 23 6:04 AM CST

Not within Sytist. Google search on using a robots.txt file to block images or a folder of images from being indexed.

Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
c
63 posts
Tue Jun 20, 23 7:05 AM CST

Ok thanks, will try that out.

This reply was deleted.
c
63 posts
Wed Jan 15, 25 6:46 AM CST

I have added a robots.txt file to what appears to be the appropriate location.

I note that there is also a robots.php file already there.

Not knowing how these things work, is it ok to leave both in place (and will everything work as intended) or does the robots.php file need amending (I wouldn't know how!) Will they conflict?

The culprit here is DuckDuckGo, which reveals images in password-protected galleries whereas google doesn't!

I added:

User-agent: *
Disallow: /clients/


Update: this appears not to have worked with DuckDuckGo, which means the public may see images of children for which photo consent (outside a passsword-protected gallery) is not allowed.

It also means people can download images without needing the access code.


Gemini suggests this: (Not knowing much about web development, will this work and how do i do it?)

1. Optimize Your Website for Search Engines (SEO)

  • Use the "noindex" meta tag:
    • This is the most direct way to prevent search engines from indexing specific pages or images.
    • Add the following code to the <head> section of the HTML for the gallery pages: <meta name="robots" content="noindex"><br><br><br><br><tunable-selection-menu><br></tunable-selection-menu>
Edited Wed Jan 15, 25 7:18 AM by chris rowan
16,855 posts (admin)
Wed Jan 15, 25 11:33 AM CST

If you are putting images in the text of a gallery, then they are probably getting into the meta data for the page which will be available to search engines.  And it would only be crawling those sample photos, not the photos within the gallery itself.

For the robots.txt file, that looks correct. By you need to also add: 

User-agent: *
Disallow: /
sy-misc/
Disallow: /sy-photos/

Those are where the photos are saved.  

Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
c
63 posts
Wed Jan 15, 25 12:25 PM CST

So my robots.txt file now looks like this:

User-agent: *
Disallow: /clients/
Disallow: /sy-misc/

Disallow: /sy-photos/

and the location is here (see attached photos), in same folder as index.php

I can confirm that these images are not in the text of the password-protected pages.


1) Some of the photos I can see in a DuckDuckGo image search *were originally in text sections of password-protected pages, but haven't been for a year.
Am I right in thinking that once a page is crawled, the results can show up for a while in searches even though content is removed?

2) I can find *some images which have never been in the text section, have always been in password-protected galleries and *are showing up. Will the amendment to robots.txt sort this?

3) If not, is this an option going forward, and how would the code need adjusting if so?

  • Add the following code to the <head> section of the HTML for the gallery pages: <meta name="robots" content="noindex"><br><br><br><br><tunable-selection-menu><br></tunable-selection-menu>


Attached Photos

Edited Wed Jan 15, 25 12:28 PM by chris rowan
16,855 posts (admin)
Wed Jan 15, 25 12:28 PM CST

Updating the robots file should help moving forward. You may have to ask duckduckgo to remove your images from their index.

You can add this to you Design -> Header & Footer -> Head Code, but that will block ALL your pages from being in search engines. 

 <meta name="robots" content="noindex">

Do NOT add <br><br><br><br><tunable-selection-menu><br></tunable-selection-menu>

Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
c
63 posts
Wed Jan 15, 25 12:33 PM CST

Ok, many thanks.

So it's only possible to use  <meta name="robots" content="noindex"> on the entire site, rather than in /clients/ downwards?

16,855 posts (admin)
Thu Jan 16, 25 7:24 AM CST

Yes it is only possible to add that meta tag to the entire site. The robots.txt file should be suffecient now. 

Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
10 total messages
Please log in or Create an account to post or reply to topics.
This post has been viewed 375 times
Category: Photos
 
Loading more pages
Loading more pages

Sign up for email promotions.

Your information is safe with us and won't be shared.

Thank you for signing up!

 
©2003 - 2021 Grissett, LLC. All Rights Reserved.

By continuing to browse or by clicking Accept Cookies, you agree to the storing of cookies on your device necessary to provide you with the services available through our website.

    Accept   Privacy & Cookie Policy
Loading More Photos
Scroll To Top
Close Window
Loading
Close