Reputation: 610
I am allowing some specific pages on my web page. How can I allow google request to fetch my page information
<body itemscope itemtype="http://schema.org/Product">
<h1 itemprop="name">Shiny Trinket</h1>
<img itemprop="image" src="{image-url}" />
<p itemprop="description">Shiny trinkets are shiny.</p>
</body>
This is my page. But I am allowing only those persons to see my page who is login.
When I want to share from google it render my page and due to login permission its request move to login page.
How can I allow google request to fetch my page without login.
Upvotes: 2
Views: 76
Reputation: 1079
I think I read somewhere that it is possible to pass login and password to google index bot. Try Google WEBMASTERING
I am not sure?!
Upvotes: 2
Reputation: 11
try
@can('your_role')
<h1 itemprop="name">Shiny Trinket</h1>
<img itemprop="image" src="{image-url}" />
<p itemprop="description">Shiny trinkets are shiny.</p>
@endcan
Upvotes: 1