sitemap tatics

Discussion in 'Search Engine Optimization' started by stuw, Sep 8, 2005.

  1. #1
    I saw this code on a site and wondered if it had any benefit, or would be penalised.

    Basically if you have no javascript a link to the sitemap appears at the top of the page. If you do have javascript you see nothing. I'm assuming this is because bots / spiders don't have javascript enabled?

    Is this a good thing?

    <head>
    <script language="javascript" type="text/javascript">var doonload=false;</script>
    </head>
    <body class="body" onload="if(doonload)eval(doonload);">
    <noscript>
    <a href='http://www.mydomain.com/sitemap.html'>Sitemap mywebsite English (UK)</a>
    </noscript>
     
    stuw, Sep 8, 2005 IP
  2. aeiouy

    aeiouy Peon

    Messages:
    2,876
    Likes Received:
    275
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Search engines not really fans of people cloaking and that is basically what you are doing there... The noscript information should either relate to telling people to activate java, or recreate the content for non-java users.

    I am just guessing, but I think most of the se's would frown upon this.. And it seems a bit pointless.. You can add a sitemap to pretty much any site without it being too obtrusive.

    Thinking about it a bit more.. since it is only a link no real harm, but again.. not sure why you want to hide the sitemap from users.
     
    aeiouy, Sep 8, 2005 IP
  3. stuw

    stuw Peon

    Messages:
    702
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #3
    That's kind of what I thought. I just couldn't figure out a reason to do it.
     
    stuw, Sep 9, 2005 IP
  4. mdvaldosta

    mdvaldosta Peon

    Messages:
    4,079
    Likes Received:
    362
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Just put a small link in the bottom corner of your site, users won't go down there looking for it. If you think its a grey area its better not to try.
     
    mdvaldosta, Sep 10, 2005 IP
  5. stuw

    stuw Peon

    Messages:
    702
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #5
    It's not something that I would do. I just wondered if there was an SEo benefit, and if anyone on the dp forum thought so.
     
    stuw, Sep 10, 2005 IP