url rewriting causing urls to be incorrect
« on: May 29, 2013, 08: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 http://www.mysite.com/https://www.mysite.com/secure-page in the sitemap when it should of instead been https://www.mysite.com/secure-page .

Is there a way to configure the generator to do this properly and have the correct links?
Re: url rewriting causing urls to be incorrect
« Reply #1 on: May 29, 2013, 10:26:33 PM »
I have fixed this by adding the constraint to not do the url redirect for xml-sitemaps user agent.
Re: url rewriting causing urls to be incorrect
« Reply #2 on: May 30, 2013, 03: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.