PC Review


Reply
Thread Tools Rate Thread

is ASP.NET SEO friendly?

 
 
Anton
Guest
Posts: n/a
 
      31st Oct 2009
Hey

asp.net 3.5

I wonder if asp.net is seo friendly. I did a crawl test on my site and it
reported several things I didn't like:

* It reported that the title had several spaces in the begining, despite I
used the Title="title here" tag (no space in the beginning there)
but the generated code it had several spaces...

* because of the spaces in the title, it reported that my keywords wasn't in
the title, but the keywords are indeed there

*my keywords isn't in the top of the body section, because there asp.net had
placed some hidden fields. Wonder if that affects the sites's ranking

any suggestions?


 
Reply With Quote
 
 
 
 
Scott M.
Guest
Posts: n/a
 
      31st Oct 2009

"Anton" <no_email> wrote in message
news:(E-Mail Removed)...
> Hey
>
> asp.net 3.5
>
> I wonder if asp.net is seo friendly. I did a crawl test on my site and it
> reported several things I didn't like:
>
> * It reported that the title had several spaces in the begining, despite I
> used the Title="title here" tag (no space in the beginning there)
> but the generated code it had several spaces...
>
> * because of the spaces in the title, it reported that my keywords wasn't
> in the title, but the keywords are indeed there
>
> *my keywords isn't in the top of the body section, because there asp.net
> had placed some hidden fields. Wonder if that affects the sites's ranking
>
> any suggestions?


I don't experience those issues with my ASP .NET site or any other ASP .NET
site I've built. Page titles and keywords are manually added as static HTML
and do not get altered that way.

-Scott


 
Reply With Quote
 
Registered User
Guest
Posts: n/a
 
      31st Oct 2009
On Sat, 31 Oct 2009 12:25:31 +0100, "Anton" <no_email> wrote:

>Hey
>
>asp.net 3.5
>
>I wonder if asp.net is seo friendly. I did a crawl test on my site and it
>reported several things I didn't like:
>

ASP.NET can be used to create SEO friendly sites. URL rewriting is
especially useful.

>* It reported that the title had several spaces in the begining, despite I
>used the Title="title here" tag (no space in the beginning there)
>but the generated code it had several spaces...
>

What tool was used?

>* because of the spaces in the title, it reported that my keywords wasn't in
>the title, but the keywords are indeed there
>
>*my keywords isn't in the top of the body section, because there asp.net had
>placed some hidden fields. Wonder if that affects the sites's ranking
>

Probably not as this is not an uncommon occurrence.

>any suggestions?
>

Learn more about search engines, how they work, and the factors that
may influence search rankings. I would recommend 'Professional Search
Engine Optimization with ASP.NET" (ISBN 978-0-470-13147-3) or
something similar as a starting point.

regards
A.G.
 
Reply With Quote
 
Anton
Guest
Posts: n/a
 
      2nd Nov 2009
I've ordered that book, looking forward to reading it


 
Reply With Quote
 
Alexey Smirnov
Guest
Posts: n/a
 
      2nd Nov 2009
On Oct 31, 12:25*pm, "Anton" <no_email> wrote:
> Hey
>
> asp.net 3.5
>
> I wonder if asp.net is seo friendly. I did a crawl test on my site and it
> reported several things I didn't like:
>
> * It reported that the title had several spaces in the begining, despite I
> used the Title="title here" tag (no space in the beginning there)
> but the generated code it had several spaces...


By default, .NET generates an output in XHTML (see your DOCTYPE tag at
the very top). According to XHTML rules, leading and trailing white
space, including line breaks, are not an error for layout. This is
more important for the browser, but search engines also should follow
that rule. To be sure that your site has no problems with ASP.NET and
SEO you can start with Google Webmaster Tools at https://www.google.com/webmasters
where you can see some useful information about how Google see you
site.
 
Reply With Quote
 
Scott M.
Guest
Posts: n/a
 
      2nd Nov 2009

"Alexey Smirnov" <(E-Mail Removed)> wrote in message
news:4f24992f-b877-4233-8d2e-(E-Mail Removed)...
On Oct 31, 12:25 pm, "Anton" <no_email> wrote:
> Hey
>
> asp.net 3.5
>
> I wonder if asp.net is seo friendly. I did a crawl test on my site and it
> reported several things I didn't like:
>
> * It reported that the title had several spaces in the begining, despite I
> used the Title="title here" tag (no space in the beginning there)
> but the generated code it had several spaces...


>By default, .NET generates an output in XHTML (see your DOCTYPE tag at
>the very top). According to XHTML rules, leading and trailing white
>space, including line breaks, are not an error for layout. This is
>more important for the browser, but search engines also should follow
>that rule. To be sure that your site has no problems with ASP.NET and
>SEO you can start with Google Webmaster Tools at
>https://www.google.com/webmasters
>where you can see some useful information about how Google see you
>site.


But, this doesn't address ASP .NET at all. ASP .NET does not generate
leading and trailing spaces for page titles and such by default. If you are
getting leading and trailing spaces, you are most likely settinng your page
titles dynamially, in which case your code is probably more to blame than
ASP .NET.

-Scott







 
Reply With Quote
 
Alexey Smirnov
Guest
Posts: n/a
 
      2nd Nov 2009
On Nov 2, 2:53*pm, "Scott M." <s-...@nospam.nospam> wrote:
> "Alexey Smirnov" <alexey.smir...@gmail.com> wrote in message
>
> news:4f24992f-b877-4233-8d2e-(E-Mail Removed)...
> On Oct 31, 12:25 pm, "Anton" <no_email> wrote:
>
>
>
>
>
> > Hey

>
> > asp.net 3.5

>
> > I wonder if asp.net is seo friendly. I did a crawl test on my site and it
> > reported several things I didn't like:

>
> > * It reported that the title had several spaces in the begining, despite I
> > used the Title="title here" tag (no space in the beginning there)
> > but the generated code it had several spaces...
> >By default, .NET generates an output in XHTML (see your DOCTYPE tag at
> >the very top). According to XHTML rules, leading and trailing white
> >space, including line breaks, are not an error for layout. This is
> >more important for the browser, but search engines also should follow
> >that rule. To be sure that your site has no problems with ASP.NET and
> >SEO you can start with Google Webmaster Tools at
> >https://www.google.com/webmasters
> >where you can see some useful information about how Google see you
> >site.

>
> But, this doesn't address ASP .NET at all. *ASP .NET does not generate
> leading and trailing spaces for page titles and such by default. *If you are
> getting leading and trailing spaces, you are most likely settinng your page
> titles dynamially, in which case your code is probably more to blame than
> ASP .NET.
>
> -Scott- Hide quoted text -
>
> - Show quoted text -


It is generated by ASP.NET. Look at the header of www.asp.net for
instance.

 
Reply With Quote
 
germ
Guest
Posts: n/a
 
      2nd Nov 2009
Alexey is correct- asp.net by default DOES add line feeds before & after
<title /> contents


"Alexey Smirnov" <(E-Mail Removed)> wrote in message
news:529a4ed7-ff21-4e4e-b2c6-(E-Mail Removed)...
On Nov 2, 2:53 pm, "Scott M." <s-...@nospam.nospam> wrote:
> "Alexey Smirnov" <alexey.smir...@gmail.com> wrote in message
>
> news:4f24992f-b877-4233-8d2e-(E-Mail Removed)...
> On Oct 31, 12:25 pm, "Anton" <no_email> wrote:
>
>
>
>
>
> > Hey

>
> > asp.net 3.5

>
> > I wonder if asp.net is seo friendly. I did a crawl test on my site and
> > it
> > reported several things I didn't like:

>
> > * It reported that the title had several spaces in the begining, despite
> > I
> > used the Title="title here" tag (no space in the beginning there)
> > but the generated code it had several spaces...
> >By default, .NET generates an output in XHTML (see your DOCTYPE tag at
> >the very top). According to XHTML rules, leading and trailing white
> >space, including line breaks, are not an error for layout. This is
> >more important for the browser, but search engines also should follow
> >that rule. To be sure that your site has no problems with ASP.NET and
> >SEO you can start with Google Webmaster Tools at
> >https://www.google.com/webmasters
> >where you can see some useful information about how Google see you
> >site.

>
> But, this doesn't address ASP .NET at all. ASP .NET does not generate
> leading and trailing spaces for page titles and such by default. If you
> are
> getting leading and trailing spaces, you are most likely settinng your
> page
> titles dynamially, in which case your code is probably more to blame than
> ASP .NET.
>
> -Scott- Hide quoted text -
>
> - Show quoted text -


It is generated by ASP.NET. Look at the header of www.asp.net for
instance.


 
Reply With Quote
 
Scott M.
Guest
Posts: n/a
 
      2nd Nov 2009
"germ" <(E-Mail Removed)> wrote in message
news:%23dENIG%(E-Mail Removed)...
> Alexey is correct- asp.net by default DOES add line feeds before & after
> <title /> contents
>
>
> "Alexey Smirnov" <(E-Mail Removed)> wrote in message
> news:529a4ed7-ff21-4e4e-b2c6-(E-Mail Removed)...
> On Nov 2, 2:53 pm, "Scott M." <s-...@nospam.nospam> wrote:
>> "Alexey Smirnov" <alexey.smir...@gmail.com> wrote in message
>>
>> news:4f24992f-b877-4233-8d2e-(E-Mail Removed)...
>> On Oct 31, 12:25 pm, "Anton" <no_email> wrote:
>>
>>
>>
>>
>>
>> > Hey

>>
>> > asp.net 3.5

>>
>> > I wonder if asp.net is seo friendly. I did a crawl test on my site and
>> > it
>> > reported several things I didn't like:

>>
>> > * It reported that the title had several spaces in the begining,
>> > despite I
>> > used the Title="title here" tag (no space in the beginning there)
>> > but the generated code it had several spaces...
>> >By default, .NET generates an output in XHTML (see your DOCTYPE tag at
>> >the very top). According to XHTML rules, leading and trailing white
>> >space, including line breaks, are not an error for layout. This is
>> >more important for the browser, but search engines also should follow
>> >that rule. To be sure that your site has no problems with ASP.NET and
>> >SEO you can start with Google Webmaster Tools at
>> >https://www.google.com/webmasters
>> >where you can see some useful information about how Google see you
>> >site.

>>
>> But, this doesn't address ASP .NET at all. ASP .NET does not generate
>> leading and trailing spaces for page titles and such by default. If you
>> are
>> getting leading and trailing spaces, you are most likely settinng your
>> page
>> titles dynamially, in which case your code is probably more to blame than
>> ASP .NET.
>>
>> -Scott- Hide quoted text -
>>
>> - Show quoted text -

>
> It is generated by ASP.NET. Look at the header of www.asp.net for
> instance.


Yes, I see (and know) what you mean by the spacing, however (again) this may
be more of a problem with the coding of dynamically generated titles, rather
than with ASP .NET itself.

This is what I get when I create a new ASP .NET page:

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb"
Inherits="WebApplication1._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>

</div>
</form>
</body>
</html>

-Scott


 
Reply With Quote
 
Anton
Guest
Posts: n/a
 
      2nd Nov 2009
> This is what I get when I create a new ASP .NET page:
>
> <%@ Page Language="vb" AutoEventWireup="false"
> CodeBehind="Default.aspx.vb" Inherits="WebApplication1._Default" %>
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>
> <html xmlns="http://www.w3.org/1999/xhtml" >
> <head runat="server">
> <title></title>
> </head>
> <body>
> <form id="form1" runat="server">
> <div>
>
> </div>
> </form>
> </body>
> </html>
>
> -Scott


The pages in my project are based on a masterpage, so I specify the title in
first line in the page
:<%@ Page Language="C#" MasterPageFile="~/Masters/MasterPage.master"
AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default"
Title="First Page" %>

Which generates:
<title>
First Page
</title>
(the line break after <title> and the spaces before the "First Page" text)

Also I want to add that I've run a test using Google Webmaster Tools, and it
report that they have no problem with the titles in my project.
http://www.instantposition.com/seotest.php reported that my site is poorly
optimized, I ran a test on the asp.net site also and it too was poorly
optimized too
(it said that the www.asp.net was missing the keyword asp.net in the
title...) Not sure how serious I can take the result from the test as I
suppose they who created asp.net is among the best developers microsoft know
about...

Look forward to reading that book


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Are there any UK friendly templates? =?Utf-8?B?RWFnbGUgRXll?= Microsoft Access 1 16th Mar 2005 05:25 AM
Re: Friendly Url Phil Winstanley [Microsoft MVP ASP.NET] Microsoft ASP .NET 1 16th Jun 2004 07:37 AM
Friendly Url =?Utf-8?B?Qm9uaQ==?= Microsoft ASP .NET 7 15th Jun 2004 01:57 PM
Friendly Name R Windows XP Hardware 0 29th Sep 2003 04:57 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:33 PM.