Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Indexing restricted pages in php forum

12:11 am on Oct 31, 2006 (gmt 0)

5+ Year Member

Hi guys

I had a quick question and couldn’t find it anywhere on the forum and was wondering if anyone would know please?

I am just wondering how you get all your forum pages indexed (like in webmasterworld.com) in the search engines without having the cache pages viewable as well? Also how the googlebot gets into the forum without having a cookie set? I would be keen to do this to my small forum that I keep as a paid only forum and I want to respect the members by not making all the information within it public, but still being able to generate traffic from search engines. Any help would be greatly appreciated!

Thanks in advanced

9:16 pm on Oct 31, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

As I remember, the spiders only index non restricted pages.
However if you want to give them access to your more privat stuff, then you would have to check if the user viewing the page is a bot (by IP, or special headers, there was sth on bots here), and give it access (href link) to the pages you want to index.

I don't know of any other way of making such pages indexable.

Hope this answers your thread.

And welcome to WebmasterWorld!


1:49 am on Nov 5, 2006 (gmt 0)

5+ Year Member

thanks for that. Is it possible to provide bots such as googlebot with a cookie for your pages so they can login and then index the pages if they are current restricted by a required login?

Also would this be considered cloaking as your not really giving the end user the actual page that would be indexed (assuming they don't have a cookie stored)?

Any help and info would be great.

10:30 pm on Nov 7, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Everything about googlebot:

There is also some info on


As you see there is no cookie included, as the crawlers are not run through browsers.
So if you spot a crawler - by IP and / or agent's name you can override you security and grant him access to some pages you want to index.

Hope this helps you

11:03 pm on Nov 7, 2006 (gmt 0)

5+ Year Member

Wouldn't this be classed as cloaking though?
It would be pretty easy with my script to set it via useragent to let Google crawl my members forum, and then set the nocache option - but isn't that against there tos (cloaking?)


9:26 am on Nov 11, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

It may be referred to as cloaking and probably will


Why do you want grant google access and users not?

10:01 pm on Nov 11, 2006 (gmt 0)

5+ Year Member

I do want to allow both however my site is a paid subs site (same as WebmasterWorld) so obviously these pages will be blocked for users that dont have the correct cookie.

It is more like IP cloacking (which Google say is legal) as we are allowing users that have a cookie (at certain) IPs to view the pages and others will have to join to view.

Very hard to get the answer out of Google. Hopefulyl GoogleGuy could lend his 2 cents?


Featured Threads

Hot Threads This Week

Hot Threads This Month