ASP and SEO

Discussion in 'Search Engine Optimization' started by WebdevHowto, Oct 8, 2008.

  1. #1
    I friend of mine wants me to help him with SEO on his site that uses asp. I have never worked with asp. What sort of special considerations do I need to account for? Any advice at all on doing SEO with asp would be greatly appreciated.
     
    WebdevHowto, Oct 8, 2008 IP
  2. Arlington SEO

    Arlington SEO Peon

    Messages:
    9
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Classic ASP? (index.asp) Or ASP.NET? (index.aspx)

    With Classic ASP, it often looks like an HTML file, but with sections of ASP code mixed-in, somewhat similar to how you might include Javascript code in an HTML page, but this code runs on the server, and is delimited like so -

    HTML stuff
    <%
    ...code here...
    %>
    more HTML...

    In addition to the static HTML contained in the file, the ASP code can also dynamically generate pieces of HTML directly, or in the worse-case senario (for you), generate the entire page strictly from ASP code.

    ASP.NET gets trickier, for among other reasons that the code can come from several places, and in some cases may even be compiled (so that you can't get at it without the source pgms). It also has an annoying (and typically very lengthly) encoded State variable that it places as a form value near the top of the generated HTML page to keep track of the current state of things on the page (part of Microsoft's attempt to shoehorn Window's event-driven programming model into the request/response design of Internet web pages), which can interfere with the SEO concept of the most important stuff should be near the top, as this huge state variable is usually located above most/all of your page contents.
     
    Arlington SEO, Oct 8, 2008 IP
  3. vansterdam

    vansterdam Notable Member

    Messages:
    3,145
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    245
    #3
    Doing seo for asp pages is basically the same as seo for html pages, but it is harder to find the actual html tags in asp. A major difference is that asp can be used to dynamically generate pages based on a database. So sometimes you have to write titles, meta tags, h1, etc that can dynamically change to match the database content.
     
    vansterdam, Oct 8, 2008 IP
  4. catanich

    catanich Peon

    Messages:
    1,921
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    0
    #4
    ASP like .net or php create a HTML page via code. If you know how to do SEO on a HTML page, then it is easy.

    The advantage of ASP is the ability to dynamically insert text string in the "SEO Elements" as followed:


    <%
    strKeyWord1="Dallas Search Marketing Company"
    strKeyWord2="Dallas-Search-Marketing-Company"
    strTitle="Dallas Search Marketing Company : About Internet Marketing Information, Benefits and Services for Businesses, Consumers from Catanich Internet Marketing Services"
    strDescription="Catanich Internet Marketing Company in Dallas Texas is an award winning business to business (B2B) and business to consumer (B2C) Search Marketing and Search Engine Optimization service company"
    strKeywords="Dallas Search Marketing Company Texas Catanich"
    strH1Tag="Welcome to Catanich Internet Marketing"
    %>

    <title><%=strTitle%></title>
    <meta name="description" content="<%=strDescription%>">
    <meta name="keywords" content="<%=strKeyword%>">
    </head>

    <body
    <table width="780" align="center">
    <tr>
    <td valign="top">
    <a href="http://www.catanich.com/" title="<%=strKeyword1%>">
    <img src="images/internet-marketing-company-cim.gif" alt="<%=strKeyword1%>" border="0"></a>
    <h1><%=strH1Tag%></h1>
    </td>

    How you obtain the string is from a database, xml file, etc.
     
    catanich, Oct 8, 2008 IP