XML Sitemaps Generator

Author Topic: Folders containing dash sometimes listed twice  (Read 11905 times)

Gononda

  • Approved member
  • *
  • Posts: 5
Folders containing dash sometimes listed twice
« on: November 25, 2010, 03:57:29 PM »
Most of my website folders contain a dash in the folder name. For some reason the free sitemap generator generates a sitemap for me with some URLs listed twice, one with a "-" and the other with a "%2D" - and this only happens with some of the folders containing a hash, e.g.:

Code: [external links are visible to admins only]
<url>
  <loc>http://www.domain.com/sports%2Dequipment/</loc>
  <changefreq>weekly</changefreq>
</url>
...
...
...
<url>
  <loc>http://www.domain.com/sports-equipment/</loc>
  <changefreq>weekly</changefreq>
</url>

Why would that be?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: Folders containing dash sometimes listed twice
« Reply #1 on: November 25, 2010, 04:03:35 PM »
Hello,

it means that at some page you have a link to url with %26, and in other place the link is with "-".
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

Gononda

  • Approved member
  • *
  • Posts: 5
Re: Folders containing dash sometimes listed twice
« Reply #2 on: November 25, 2010, 08:16:21 PM »
I think I've discovered the cause of the "%2D" characters I've been getting. My website's menu headings are included in all pages using the php "require" command, and for some reason my host's php server encodes some of the characters when including files in this way. So it is a host server related issue.

 

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