Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - is ASP.NET SEO friendly?

 
Thread Tools Search this Thread
Old 11-02-2009, 09:24 PM   #11
Default Re: is ASP.NET SEO friendly?


On Nov 2, 10:09*pm, "Anton" <no_email> wrote:
> > 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.phpreported that my site is poorly


I would not trust to this service, because it does not work
properly...

Compare result for keywords with any other tool. For example, I tested
it with
http://www.submitexpress.com/analyzer/

Do you see the difference?


Alexey Smirnov
  Reply With Quote
Old 11-02-2009, 09:29 PM   #12
Alexey Smirnov
 
Posts: n/a
Default Re: is ASP.NET SEO friendly?
On Nov 2, 6:47*pm, "Scott M." <s-...@nospam.nospam> wrote:
> "germ" <ge...@newsgroup.nospam> wrote in message
>
> news:%23dENIG%...
>
>
>
>
>
> > Alexey is correct- asp.net by default DOES add line feeds before & after
> > <title /> contents

>
> > "Alexey Smirnov" <alexey.smir...@gmail.com> 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 ofwww.asp.netfor
> > 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- Hide quoted text -
>
> - Show quoted text -


Scott, I don't get you point. Dynamic title is generated by ASP.NET,
isn't it?


Alexey Smirnov
  Reply With Quote
Old 11-02-2009, 09:41 PM   #13
Scott M.
 
Posts: n/a
Default Re: is ASP.NET SEO friendly?

"Anton" <no_email> wrote in message
news:...
>> 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


Rather than setting your title as a page directive, have you tried doing it
via the title property of the page in code? Also, you can control how HTML
tags are rendered in Tools...Options of VS.

-Scott




Scott M.
  Reply With Quote
Old 11-02-2009, 09:43 PM   #14
Scott M.
 
Posts: n/a
Default Re: is ASP.NET SEO friendly?

"Alexey Smirnov" <> wrote in message
news:38128d84-7b3e-43b3-8cd8-

> Scott, I don't get you point. Dynamic title is generated by ASP.NET, isn't
> it?


Well, sure. If it's dynamic then it's automatically generated. That's
actually what I've been saying all along here. That the way the title is
being generated is more likely the problem. Rather than setting the title
Page Directive, on a master page, I'd try setting it via code.

-Scott




Scott M.
  Reply With Quote
Old 11-03-2009, 05:45 PM   #15
germ
 
Posts: n/a
Default Re: is ASP.NET SEO friendly?
Sure that is what you get when you create a new .aspx page.
What does the browser receive when you browse it exactly as is without using
any dynamic titles ?

<!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><title>

</title></head>

Line feeds before & after <title /> contents even when the contents are
empty.
I don't see how you can say this isn't an asp.net issue when this is default
the behaviour that you can't work around - unless you are suggesting title
rendering is somehow not part of asp.net ?

Gerry




"Scott M." <s-> wrote in message
news:e6dtbR%...
> "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
>





germ
  Reply With Quote
Old 11-03-2009, 05:48 PM   #16
germ
 
Posts: n/a
Default Re: is ASP.NET SEO friendly?
this problem occurs regardless of how the title is set - it happens even
when the title is never set.
and in all cases the title is generated ( rendered ) by asp.net

"Scott M." <s-> wrote in message
news:%23INf$...
>
> "Alexey Smirnov" <> wrote in message
> news:38128d84-7b3e-43b3-8cd8-
>
>> Scott, I don't get you point. Dynamic title is generated by ASP.NET,
>> isn't it?

>
> Well, sure. If it's dynamic then it's automatically generated. That's
> actually what I've been saying all along here. That the way the title is
> being generated is more likely the problem. Rather than setting the title
> Page Directive, on a master page, I'd try setting it via code.
>
> -Scott
>





germ
  Reply With Quote
Old 11-03-2009, 05:55 PM   #17
germ
 
Posts: n/a
Default Re: is ASP.NET SEO friendly?
have you found any formatting setting that work with this ?
I looked and it seems that you can affect the formatting in the designer but
not for what is actually renedered to the browser.
Maybe I am missing a setting?


"Scott M." <s-> wrote in message
news:%...
>
> "Anton" <no_email> wrote in message
> news:...
>>> 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

>
> Rather than setting your title as a page directive, have you tried doing
> it via the title property of the page in code? Also, you can control how
> HTML tags are rendered in Tools...Options of VS.
>
> -Scott
>





germ
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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

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




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46