Can Google Index Pages Behind a Login? A Guide for Trade Sites
Google does not log in. It sees your website exactly as a stranger with no account sees it, so anything that needs a password is something Google cannot read, index or rank. For a wholesaler with a trade portal, that settles most of the strategy: decide what really has to stay hidden, and make everything else public.
Yet plenty of supplier websites put the whole catalogue behind the trade login, product names and all. The buyer who has not opened an account yet, which is every new customer you will ever win, searches for the product and finds someone else.
What Google sees when it reaches a login
Google’s crawler arrives with no cookies and no account, so it gets whatever a logged-out visitor gets. Usually that is one of three things:
- A redirect. Every account address sends the visitor to the same sign-in screen.
- A login form in place. The address stays the same, but the content is swapped for a username and password box.
- A partial page. The product shows, but the price or order button is replaced by “log in for trade prices”.
Only the third gives Google anything to index. Google’s guide to controlling what you share with Google lists password protection as one of the main ways to keep content out of its index: protecting content so “only authorized users can access it” will “prevent that content from appearing in Google Search”.
So no, not while the login is doing its job. That is fine for an account area. It is a problem when the thing behind the login is your product range.
Why a generic login page can hurt your search visibility
There is a second, less obvious cost. When lots of addresses all show the same sign-in screen, Google treats them as copies of one page.
John Mueller of Google explained this on the Search Off the Record podcast, as reported by Search Engine Journal: “If you have a very generic login page, we will see all of these URLs that show that login page … as being duplicates… We’ll fold them together as duplicates and we’ll focus on indexing the login page because that’s kind of what you give us to index.”
The result is that a bare sign-in box can become one of the results Google shows for your brand. Nobody has ever opened a trade account because the login box looked inviting.
His advice was to put some information about your service on the sign-in screen itself. Two short paragraphs on what you supply, who qualifies for an account and how to apply turn dead-end login pages into useful ones, for buyers and for any search engine.

Robots.txt does not hide private URLs
It is tempting to block the account area in robots.txt and call it done. It is not. Robots.txt stops Google crawling an address, but a blocked address that is linked from somewhere can still appear without a description.
His warning in the same episode was that if someone searches for every address on your domain, search engines “might be like, oh, I know about all of these URLs. I don’t have any information on what’s on there, but feel free to try them out essentially.” If your account addresses contain customer names or account numbers, you have just handed them out.
For anything that must stay private:
- Keep personal details out of the address itself.
- Use a proper redirect to sign-in, or a
noindexrule, rather than relying on robots.txt. - Never load restricted text into the page and hide it with JavaScript. The text is still there for anyone who looks.
Is there a way to get login protected content indexed?
Yes, with care. Google supports paywalled content structured data, which lets Google fetch the full text while marking the section ordinary visitors cannot see. Google says it “helps Google differentiate paywalled content from the practice of cloaking”, which is showing Google one thing and visitors another, and breaks its spam policies.
Mueller said of the markup: “It doesn’t have to be something that’s behind like a clear payment thing. It can just be something like a login or some other mechanism that basically limits the visibility of the content.”
For most wholesalers, though, it is the wrong tool. It suits articles, where the words themselves are the product. A trade price is not something you want quoted in a snippet, and serving it to Googlebot means anyone can read it in Google’s copy. If the price is the secret, keep it behind the login and make the rest of the page public.
What to leave public on a trade website
Split each product into what a buyer needs to decide and what an account holder needs to order. The first half goes on the open web.
| Public, so Google can index it | Behind the trade login |
|---|---|
| Product names, codes and descriptions | Trade prices and price breaks |
| Specifications, pack sizes and case quantities | Stock levels by depot |
| Minimum order and delivery area | Order forms and reorder lists |
| How to open a trade account | Invoices and credit terms |
| Range and category pages | Customer-specific catalogues |
A product page with everything in the left column can rank for the product name and the code. A buyer who finds it sees straight away whether you stock what they need, in the quantity they need, delivered where they need it. “Apply for a trade account to see prices” is a perfectly good next step once they know you are the right supplier.
The opposite set-up is easy to spot: a home page, an about page and a contact form, with a few thousand products locked away. That business is not being picky about who sees its prices. It is invisible in organic search, full stop.
Whether the price itself should be public is a separate decision, covered in should you show prices on your website.

Price lists, product schema and staging copies
Hiding the price changes one more thing. Google’s product snippet documentation says “You must include one of the following properties: review aggregateRating offers”. A trade product with no public price and no reviews will not earn that rich result. It still ranks as an ordinary result on the strength of the page.
Also check:
- Downloadable price lists. A PDF linked from a public page is public, whatever the page says. Google can index PDFs, as our guide to whether Google can index PDF catalogues explains, so a file meant only for account holders may already be in its index.
- Staging copies. A password prompt is the right way to keep a test version out of search. Leave it on until launch day, because the one time it comes off early is the time Google visits.
How to check what Google can see
- Open a private browser window. You are now logged out, roughly as Google arrives. Visit a product, a category and your sign-in screen, and note what each shows.
- Search your brand name in that window. If bare login pages rank near the top, they need words on them.
- Use URL Inspection in Search Console. It shows how Google last saw a page and which version it chose as canonical.
- Read the Page indexing report. Lots of addresses listed as duplicates of your sign-in URL is the folding Mueller described.
Then fix the structure: public product and range pages, a sign-in screen that explains itself, and account areas that redirect cleanly with no personal details in the address.
Where this fits in your wider SEO
A login decides what Google is allowed to see. Everything else decides whether what it sees is worth ranking. The next questions are which B2B ecommerce website features your trade buyers expect, and how search for B2B and B2C buyers differs when the buyer is a business.
For help with all of it, our page on SEO for wholesalers and trade suppliers explains how we approach trade websites, from keyword research to the product pages themselves.