XML Sitemaps Generator

Author Topic: Correct Meta Tag to use in header to refer to your sitemap.xml file?  (Read 31214 times)

Surfer1

  • Approved member
  • *
  • Posts: 2
I read somewhere that you should have some sort of Meta Tag in the Head portion of your webpage which refers to the location of your sitemap.xml file for use by the search engines?

I found this on another site:

<link rel="alternate" type="application/rss+xml" title="ROR" href="ror.xml" />

How do you change the example shown above to a properly formatted Meta Tag for use with a sitemap.xml file made by xml-sitemaps.com?

Thanks.

xml-sitemaps

  • Administrator
  • Sr. Member
  • *****
  • Posts: 146
    • XML-Sitemaps.com
Re: Correct Meta Tag to use in header to refer to your sitemap.xml file?
« Reply #1 on: July 09, 2007, 03:55:32 PM »
You don't need to add a meta tag to tell search engines the location of your sitemap.

Just add this line to your robots.txt file

Code: [Select]
Sitemap: http://www.mysite.com/sitemap.xml
Philip Nicosia
www.xml-sitemaps.com

Surfer1

  • Approved member
  • *
  • Posts: 2
Re: Correct Meta Tag to use in header to refer to your sitemap.xml file?
« Reply #2 on: July 09, 2007, 04:06:50 PM »
OK, thanks for the info!

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2