ASP.net Site Map

Hi
I am trying to add a Site Map to my site www.excel-automator.com. Is the following code correct?


<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >

    <siteMapNode title="Home" url="www.excel-automator.com">
      <siteMapNode title="Home" url="~Default.aspx">
      </siteMapNode>
      <siteMapNode title="About" url="~About.aspx">
      </siteMapNode>
      <siteMapNode title="Automation_Appointments" url="~Automation_Appointments.aspx">
      </siteMapNode>
      <siteMapNode title="Contact" url="~Contact.aspx">
      </siteMapNode>
      <siteMapNode title="Emailing" url="~Emailing.aspx">
      </siteMapNode>
      <siteMapNode title="Excel Forms" url="~Excel Forms.aspx">
      </siteMapNode>
    </siteMapNode>   

</siteMap>

Open in new window

Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPOwnerCommented:
Almost the same as from an online sitemap generator
<?xml version="1.0" encoding="UTF-8"?>
<urlset
      xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
            http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
<!-- created with Free Online Sitemap Generator www.xml-sitemaps.com -->

<url>
  <loc>http://www.excel-automator.com/</loc>
  <changefreq>always</changefreq>
</url>
<url>
  <loc>http://www.excel-automator.com/Default.aspx</loc>
  <changefreq>always</changefreq>
</url>
<url>
  <loc>http://www.excel-automator.com/About.aspx</loc>
  <changefreq>always</changefreq>
</url>
<url>
  <loc>http://www.excel-automator.com/Excel%20Forms.aspx</loc>
  <changefreq>always</changefreq>
</url>
<url>
  <loc>http://www.excel-automator.com/Emailing.aspx</loc>
  <changefreq>always</changefreq>
</url>
<url>
  <loc>http://www.excel-automator.com/Automation_Appointments.aspx</loc>
  <changefreq>always</changefreq>
</url>
</urlset>

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Thank you very much
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
When testing this site map in the Google web master area I get the following error

We encountered an error while trying to access your Sitemap. Please ensure your Sitemap follows our guidelines and can be accessed at the location you provided and then resubmit.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.