Password protect site--not pages

  • 1
  • Question
  • Updated 7 years ago
I would like to create a password protected site rather than password protected pages.

My intent is to create a site for wholesale buyers only. This would be separate from my retail site aimed at regular customers. I'm thinking I could give each wholesale customer a username and password for the protected site. Could I set it up so they can go to different pages of the site without them having to reenter the username/password on each page?

If I have only the index page password protected, how do I keep the search engines from indexing the other pages that are not password protected.

If my question isn't clear, just ask and I'll try to explain better.

Thanks for any input or suggestions you may have.
Photo of Jean


  • 134 Posts
  • 14 Reply Likes

Posted 7 years ago

  • 1
Photo of petercsea


  • 153 Posts
  • 19 Reply Likes
Hello Jean,

The only thing you can try is to put a block as a meta-tag onto each relevant page you don't wish crawled. No-one really knows how effective this for sites where the head is inaccessible as the reports are always anecdotal.

Google webmasters do have a test that you can run to see if it has read the meta-tag. I was looking at it the other day. It's buried somewhere in their info.

I know it doesn't give you the definitive answer we all want but maybe a chink of light!
Photo of Emmy


  • 5892 Posts
  • 299 Reply Likes
Hi Jean,
The search engine needs to follow a link to a page to index it. If you password protect the index page so the search engine cannot access it, then they would have no links to make it to the other pages.

That said, 3 things:

1. I would not say that the above would be 100% foolproof for keeping the search engines out... they're awfully smart.

2. If the pages did become indexed, internet searches would still need to have a way to get to them either via a URL or a search phrase and search results. If you name your pages something out of the ordinary so that the URL is more difficult to decipher that would be helpful. The page name becomes the URL so a page name like wholesale658fgc would make the URL for the page and would make it harder for people to access on a whim.

3. petercsea is correct in saying that one of the best ways to keep a site/page out of the search engine is with a no meta tag, however these are usually added to the head section of a document which is not accessible. You can however try adding this to an HTML Widget. Here is a link with more information: Using meta tags to block access to your site.

I hope this helps a bit! Let us know if you have further questions.

Kind Regards,