Click to go to USFreeAds' website
About
This website is all about strategies to help you grow your niche store empire. I have many Build A Niche Store sites and use the strategies that I share here.
Newsletter
Subscribe to my posts and get all of the latest tips and strategies sent directly to your email!
Delivered by FeedBurner
RSS Feed
Get the most recent posts and comments sent to you directly by subscribing to my RSS feeds!
Subscribe to RSS! Subscribe to RSS Comments!

Jan
31

How to Add your Dynamic Sitemap to your site’s robots.txt

RochelleHow To..., Strategies

You can add your dynamic sitemap’s location to your robots.txt. The reason to do this is so you can tell the search engine/spider where your sitemap.xml file is. This may help index your site quicker.

This idea comes from forum member WebMogul. You can see his instructions here.

 

My instructions to add your dynamic sitemap to your robots.txt:

Step One
  Go to your robots.txt file (click here if you don’t know how to do this or see How To Add a robots.txt if you don’t yet have a robots.txt).
Step Two
 

Copy contents of add-dynamic-sitemap-to-robots-txt.txt and paste contents ABOVE all other code in your robots.txt file. (Click here to see an example of what a robots.txt will look like with the dynamic sitemap added.)

   
  Change the following bits of code before you save your changes:
 
  • Change "sitemap: http://YourSiteURL.com/sitemap.xml" to the URL of the your site’s sitemap.xml.
   
  Save changes.
done

Simple as that!

Rochelle

Related Posts:

  • How to Add a Dynamic Sitemap to Your Site
  • How to Add robots.txt Meta Tags to Your Site
  • How to Add Mark’s Sitemap to Your Site
  • How to Add A Robots.txt to your site
  • How to Redirect Your Old Sitemap to Your New Sitemap
  • How to Add Permalinks (or Link-Backs or Trackbacks) to your Site
  • How to Add a Single RSS Content Page to Your Site
  • How to Add ‘Bookmark this Site’ and ‘Refer-a-Friend’ Links to your Site
  • How to Add ‘Bookmark This Site’ Code to Your Site
  • How to Add ‘Refer a Friend’ Code to Your Site
  • RSS feed | Trackback URI

    6 Comments »

    Comment by Webmogul
    2008-02-03 14:28:41

    Thanks for the pingback Rochelle!

     
    Comment by Rochelle
    2008-02-04 12:03:06

    You are very welcome, WebMogul : )

     
    Comment by nadiya
    2008-04-23 00:51:47

    Hi Rochelle - I am thankful that you have these instructions as they help out immensely. I’m confused about this one ..I assumed all this time that this was being done for the previous version (pre v3) as V3 has a sitemap. Is this dynamic sitemap / robot.txt different then the one we have on the BANS sitemap . .being a newbie I want to make sure I’m not confusing the terminology. Thank you.

     
    Comment by Rochelle
    2008-04-23 08:37:03

    Nadiya,

    You are correct that BANS v1 and v2 do not automatically create sitemaps and v3 does. So you don’t need to add either Mark’s sitemap or WebMogul’s dynamic sitemap if your site is v3. But you will still want to follow these instructions to add the dynamic sitemap to your robots.txt.

    If that doesn’t answer your question please let me know.

    Rochelle

     
    Name (required)
    E-mail (required - never shown publicly)
    URI
    Subscribe to comments via email
    Your Comment (smaller size | larger size)
    You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

    Trackback responses to this post