Removing file extentions from sitemap
« on: February 19, 2014, 02:22:11 PM »
Good afternoon,

Within .htaccess i've removed file extentions .html and .php

The sitemap is working perfectly, however a few duplications have started to occur in the sitemap.xml
  • examplepage.html
  • examplepage
What would be the best way to remove all of the .html and .php extentions from the sitemap which generates on a cron?

I appreciate any help,

Many Thanks

Alex
Re: Removing file extentions from sitemap
« Reply #1 on: February 20, 2014, 08:41:02 PM »
Hello,

you can add this in Exclude URLs setting:
Code: [Select]
.html
.php
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.
Re: Removing file extentions from sitemap
« Reply #3 on: February 23, 2014, 08:18:19 AM »
Hello,

you would need to include links in that way on your pages in this case.
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.