Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Subscribe to HRA Now!

 



Are you a Google Analytics enthusiast?

Share and download Custom Google Analytics Reports, dashboards and advanced segments--for FREE! 

 



 

 www.CustomReportSharing.com 

From the folks who brought you High Rankings!



Photo
- - - - -

Basic Sitemap Question


Best Answer chrishirst , 10 February 2015 - 12:42 PM

 

 

 do I need to include the index.html or index.php file

 

Nope.

Go to the full post


  • Please log in to reply
4 replies to this topic

#1 dpuk44

dpuk44

    HR 2

  • Members
  • PipPip
  • 28 posts

Posted 10 February 2015 - 12:34 PM

Hi,

 

Brand new to this forum, pretty excited. I wanted to know when building a site map do I need to include the index.html or index.php file or will the domain be sufficient?

 

Without

<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">
<url>
<loc>http://www.thairestaurantbournemouth.com/</loc>
<changefreq>yearly</changefreq>
</url>
</urlset>

With

<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">
<url>
<loc>http://www.thairestaurantbournemouth.com/</loc>
<changefreq>yearly</changefreq>
</url>
<url>
<loc>http://www.thairestaurantbournemouth.com/index.html</loc>
<changefreq>yearly</changefreq>
</url>
</urlset>


#2 chrishirst

chrishirst

    A not so moderate moderator.

  • Moderator
  • 7,718 posts
  • Location:Blackpool UK

Posted 10 February 2015 - 12:42 PM   Best Answer

 

 

 do I need to include the index.html or index.php file

 

Nope.


  • dpuk44 likes this

#3 dpuk44

dpuk44

    HR 2

  • Members
  • PipPip
  • 28 posts

Posted 10 February 2015 - 12:44 PM

darn quick reply! Many thanks



#4 qwerty

qwerty

    HR 10

  • Moderator
  • 8,695 posts
  • Location:Somerville, MA

Posted 11 February 2015 - 07:42 AM

Not only do you not need to, it would be a bad idea. You don't want to provide more than one URL for a given document. Just include canonical URLs.


  • dpuk44 likes this

#5 dpuk44

dpuk44

    HR 2

  • Members
  • PipPip
  • 28 posts

Posted 12 February 2015 - 11:30 AM

Great advise






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

We are now a read-only forum.
 
No new posts or registrations allowed.