To post a new support question, click the Post New Topic button below.
Current Version: 4.9.1 | 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.

Images Showing From Closed Gallery

137 posts
Thu Jan 17, 19 11:43 AM CST
Hi -

A client emailed me a link today showing photos from a closed gallery. I can not figure out how or why they are being displayed as the gallery is closed and is set not to show sub-galleries. She found the link via a Google search.

Here is the link:

https://---/sy-inc/sy-sub-galleries.php?subpage=1&date_id=1297&sub_id=&cat_id=100&pic_client=&keyWord=&view=&untagged=&pic_camera_model=&pic_upload_session=&orderBy=&acdc=&hash_image=&orientation=&kid=&price_list=99999999&mobile=&from_time=&search_date=&search_length=
Edited Fri Jan 18, 19 7:51 AM by ShutterSpeak
16,216 posts (admin)
Fri Jan 18, 19 4:13 AM CST
I don't know why google would index the file that displays sub-galleries. It's a file that gets loaded to the page with an ajax call.

To prevent google from indexing that file, you would need to create a roboxs.txt file and put it in the root of your website with this as the content:

User-agent: *
Disallow: /sy-inc/


That won't remove that one immediately. The only way to do that would be to delete that gallery.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
137 posts
Fri Jan 18, 19 7:52 AM CST
Seems like a good idea to bundle that robots.txt file into a future build. Are there other directories that would benefit from being excluded?

Joe
16,216 posts (admin)
Fri Jan 18, 19 10:43 AM CST
Not like the sy-inc folder which holds most of the working files. But you could add the following folders.

sy-graphics
sy-layouts
sy-misc
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
137 posts
Fri Jan 18, 19 7:30 PM CST
Tim,

I will add these but I think the robots.txt file is a band-aid solution.

Sure, it may hide this page over time from search engines but this is also an exploit. If a closed gallery can be seen from a snip-it of code by a search engine, than a hacker can certainly find this too. No one should ever be able to see the contents of a closed gallery.

This is a problem that needs be fixed from the coding end.

Regards,
Joe
16,216 posts (admin)
Sun Jan 20, 19 8:48 AM CST
I'll look into it.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
6 total messages
Please log in or Create an account to post or reply to topics.
This post has been viewed 976 times
Category: Bug
 
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