![]() |
|
|
|
#1 |
|
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? Anton |
|
|
|
|
#2 |
|
Posts: n/a
|
"Anton" <no_email> wrote in message news:... > 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 Scott M. |
|
|
|
#3 |
|
Posts: n/a
|
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. Registered User |
|
|
|
#4 |
|
Posts: n/a
|
I've ordered that book, looking forward to reading it
Anton |
|
|
|
#5 |
|
Posts: n/a
|
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. Alexey Smirnov |
|
|
|
#6 |
|
Posts: n/a
|
"Alexey Smirnov" <> wrote in message news:4f24992f-b877-4233-8d2e-... 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 Scott M. |
|
|
|
#7 |
|
Posts: n/a
|
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-... > 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. Alexey Smirnov |
|
|
|
#8 |
|
Posts: n/a
|
Alexey is correct- asp.net by default DOES add line feeds before & after
<title /> contents "Alexey Smirnov" <> wrote in message news:529a4ed7-ff21-4e4e-b2c6-... 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-... > 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. germ |
|
|
|
#9 |
|
Posts: n/a
|
"germ" <> wrote in message
news:%23dENIG%... > Alexey is correct- asp.net by default DOES add line feeds before & after > <title /> contents > > > "Alexey Smirnov" <> wrote in message > news:529a4ed7-ff21-4e4e-b2c6-... > 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-... >> 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 Scott M. |
|
|
|
#10 |
|
Posts: n/a
|
> 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 Anton |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ASP.NET: Asign Users in Roles(Array.IndexOf(Of String) method) | msandlana | Software | 0 | 04-25-2008 06:37 AM |
| vb .net web page error before page_Init with IE6 | BoogieWithStu22@gmail.com | Computer Support | 97 | 02-21-2007 06:00 PM |
| small problem replying in Agent 4.2 | GrandpaChuck | Computer Support | 26 | 02-10-2007 04:49 AM |
| Classic ASP + ASP.NET 2.0 on Windows Server 2003 64 bit: possible? | thehobbit30@gmail.com | Windows 64bit | 0 | 11-22-2006 09:55 PM |
| extended 64 and asp.net | kevin goff | Windows 64bit | 1 | 09-14-2005 02:14 AM |