joined:Feb 22, 2019
I have a website for my small company, and I recently discovered that if a visitor
typed in the address bar a URL that referred to a folder - not a file - such as the following:
they will see a listing of all the files in the folder.
I don't want visitors to be able to view the contents of folders. So I asked the webmaster
of the hosting company to prevent this. He told me he changed the permissions of the folders
so that visitors who type the URL of a folder will now see a message stating they cannot view the folder's contents.
This is what I wanted. But a question came to mind - If the permission settings prevent visitors
from viewing the contents of folders, will this interfere with Google indexing the pages in the folders
on a routine basis? I didn't think it would, since I know visitors can access all the pages of the site
by clicking links on site's pages.
So I'm hoping for your thoughts on the question: If the permissions of folders prevent visitors
from viewing a folder's contents, will Google have trouble indexing the files in the folders.