Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 27th, 2007, 09:52 AM
Friend of Wrox
 
Join Date: Mar 2007
Location: Creetown, UK
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
  #2 (permalink)  
Old August 27th, 2007, 10:46 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
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

================================================== =========
  #3 (permalink)  
Old August 27th, 2007, 11:03 AM
Friend of Wrox
 
Join Date: Mar 2007
Location: Creetown, UK
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
  #4 (permalink)  
Old August 27th, 2007, 11:43 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
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

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 05:42 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.