Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 27th, 2007, 09:52 AM
Friend of Wrox
 
Join Date: Mar 2007
Posts: 488
Thanks: 2
Thanked 11 Times in 10 Posts
Default SEO/Viewstate - fact or fiction??

Been reading up on the various pro's and con's of asp.net and SEO (a whole other subject, so won't go into too much here) and came across a few suggestions of moving the viewstate to the bottom of the page (which i've implemented in the basepage.sc class in the protected override void Render() method, the rationalle being that only the 1st 100k of the page is actually read in by the spiders and if a big part of that page is viewstate, then the page isn't going to be very welll rnaked or indexed. So far, so good. But it strikes me that the viewstate is a hidden field and therefore may be ignored by the search engine spiders anyway.

anyone got any REAL evidence to support or refute any of these claims?? Basically, i've got no issue in moving the viewstate in code as it's a miniscule amount of processing but obviously, if it doesn't need to be done, then i'd prefer not to do it at all.

thoughts please...!! :D

jimi

http://www.jamestollan.com
__________________
jimi

http://www.originaltalent.com
 
Old August 27th, 2007, 10:46 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

While the viewstate control is a hidden field it is still optimal to move it to the bottom of the page or to disable it all together. Personally, if your viewstate isn't more then 5K, you should be ok from needing to move it to the bottom of the page.

Be warned though, google places a bit of emphasis on where X keyword appears in your copy so, if you have 100K of viewstate (hell even 5K), X keyword is going to appear much farther down the page than if you move your viewstate.

The "best practice", of course, would be to move the viewstate to the bottom of the page and have your content be the first chunk of data directly after your <body> tag, followed by your menu, and then your viewstate.

hth.

(BTW, you might want to check out Christian and Jamie's book: Professional SEO with ASP.NET, follow the link in my profile if you are interested.)

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for:
Professional Search Engine Optimization with ASP.NET

Professional IIS 7 and ASP.NET Integrated Programming

================================================== =========
 
Old August 27th, 2007, 11:03 AM
Friend of Wrox
 
Join Date: Mar 2007
Posts: 488
Thanks: 2
Thanked 11 Times in 10 Posts
Default

dave,

good points. looks like i'll keep the viewstate at the bottom then.

cheers for 'confirming' my thoughts

jimi

http://www.jamestollan.com
 
Old August 27th, 2007, 11:43 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

No problem jimi have a good day.

-Doug

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for:
Professional Search Engine Optimization with ASP.NET

Professional IIS 7 and ASP.NET Integrated Programming

================================================== =========





Similar Threads
Thread Thread Starter Forum Replies Last Post
SEO with htaccess - images do not appear otonat007 Beginning PHP 1 January 27th, 2008 08:40 PM
Stranger than Fiction: diff. in Edit vs Design vie aaqqqa SQL Server 2005 0 November 21st, 2007 10:45 AM
SEO and the beerhouse vantoko BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 12 August 6th, 2007 05:59 PM
ASP and SEO CurvyBabe Classic ASP Basics 11 August 22nd, 2006 06:33 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.