House of Fusion
Home of the ColdFusion Community

Search cf-talk

December 02, 2008

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
   1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31       

Search over 2,500 ColdFusion resources here  >>>      
Home /  Groups /  ColdFusion Talk (CF-Talk)

Google Indexing certain content, can I avoid it with JS?

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Bobby Hartsfield
07/04/2007 09:49 AM

I'm pretty sure that if you use js to WRITE the content that Google will not see t. Just don’t use it to HIDE the content from bots. They normally don’t execute ny JS. Id say the easier solution would be to write a quick easy output just for the ooglebot Useragent. <cfif findnocase("Googlebot", cgi.http_user_agent)>   only show the content you want google to see <cfelse>   show the content for average users </cfif> You can change your reported useragent to test it but it is probably easier to ust change the above code to something like.... <cfif NOT findnocase("Googlebot", cgi.http_user_agent)> To see what it looks like. .:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com Has anyone had any experience with hiding certain things on a page from google nd other search engines? Example, I Want to hide certain authors' names on a discussion board page, but he content itself should be indexed.   I’m wondering whether I could do a document.write() to get the names on the age. Does google index only the text within the page’s markup, or does it also ndex content from javascript output? Anyone ever try this approach? Please let me know. Thanks

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Tom Chiverton
07/04/2007 10:10 AM

> <cfif findnocase("Googlebot", cgi.http_user_agent)> >   only show the content you want google to see > <cfelse> >   show the content for average users > </cfif> http://www.google.com/support/webmasters/bin/answer.py?answer=35769 ays "Avoid "doorway" pages created just for search engines," and the linked page says "Serving up different results based on user agent may cause your site to be perceived as deceptive and removed from the Google index." So do that at your own risk. -- Tom Chiverton Helping to vitalistically maintain next-generation data on: http://thefalken.livejournal.com **************************************************** This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales nder registered number OC307980 whose registered office address is at St James's ourt Brown Street Manchester M2 2JF.  A list of members is available for nspection at the registered office. Any reference to a partner in relation to alliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be onfidential or legally privileged.  If you are not the addressee you must not ead it and must not use any information contained in nor copy it nor inform any erson other than Halliwells LLP or the addressee of its existence or contents. f you have received this email in error please delete it and notify Halliwells LP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Bobby Hartsfield
07/04/2007 12:43 PM

I guess they make exceptions because there are plenty of sites that do it and get indexed by Google just fine still. .:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com > <cfif findnocase("Googlebot", cgi.http_user_agent)> >   only show the content you want google to see <cfelse> >   show the content for average users > </cfif> http://www.google.com/support/webmasters/bin/answer.py?answer=35769 ays "Avoid "doorway" pages created just for search engines," and the linked page says "Serving up different results based on user agent may cause your site to be perceived as deceptive and removed from the Google index." So do that at your own risk. -- Tom Chiverton Helping to vitalistically maintain next-generation data on: http://thefalken.livejournal.com **************************************************** This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF.  A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged.  If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents.  If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com.


<< Previous Thread Today's Threads Next Thread >>

Mailing Lists