XML Sitemaps Generator

Author Topic: url rewriting causing urls to be incorrect  (Read 8173 times)

mitya

  • Registered Customer
  • Approved member
  • *
  • Posts: 2
url rewriting causing urls to be incorrect
« on: May 29, 2013, 07:40:11 PM »
I have certain form pages on my site that when navigated to insecurly (via http) they return a 301 redirect to the https version.  When the sitemap generator accesses and crawls these pages however it creates the link url of [external links are visible to admins only] in the sitemap when it should of instead been [external links are visible to admins only] .

Is there a way to configure the generator to do this properly and have the correct links?

mitya

  • Registered Customer
  • Approved member
  • *
  • Posts: 2
Re: url rewriting causing urls to be incorrect
« Reply #1 on: May 29, 2013, 09:26:33 PM »
I have fixed this by adding the constraint to not do the url redirect for xml-sitemaps user agent.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: url rewriting causing urls to be incorrect
« Reply #2 on: May 30, 2013, 02:16:52 AM »
Hello,

great, I'm glad the issue has been resolved.
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.

 

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