XML Sitemaps Generator

Author Topic: including urls with 307 redirect  (Read 508 times)

support330

  • Registered Customer
  • Approved member
  • *
  • Posts: 5
including urls with 307 redirect
« on: September 27, 2017, 09:58:25 AM »
Hey,

we have several internal links on our webpage which result in a 307 redirect. eg: [external links are visible to admins only] -> (307) [external links are visible to admins only]
since we don't want the server.test.com to appear in the sitemap, we added a canonical tag into the page [external links are visible to admins only] pointing to [external links are visible to admins only] as the canonical page

none of these URLs are added to the sitemap.
[external links are visible to admins only] (skipped because 307 redirect)
[external links are visible to admins only] (skipped because canonical points somewhere else)

i tired to add the urls using the <option name="xs_incl_urls">[external links are visible to admins only]</option> tag in the generator conf, but the URL is still skipped.

We want to add the [external links are visible to admins only] URLs, even it uses a 307. Its like a short URL pointing to another, possibly changing resource.

Any chance you can help us? We use the version 7.2.

Thanks

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10913
Re: including urls with 307 redirect
« Reply #1 on: September 27, 2017, 05:01:42 PM »
Hello,

you can add this in generator/data/generator.conf file:
<option name="xs_allow_httpcode">307</option>
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.

support330

  • Registered Customer
  • Approved member
  • *
  • Posts: 5
Re: including urls with 307 redirect
« Reply #2 on: September 29, 2017, 08:12:31 AM »
I already tried that with the option:
<option name="xs_allow_httpcode">200|307</option>
this didn't change anything

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10913
Re: including urls with 307 redirect
« Reply #3 on: September 29, 2017, 02:10:50 PM »
Please let me know an example URL that is not added in sitemap.
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.

support330

  • Registered Customer
  • Approved member
  • *
  • Posts: 5
Re: including urls with 307 redirect
« Reply #4 on: September 29, 2017, 03:59:14 PM »
i send you a PM

support330

  • Registered Customer
  • Approved member
  • *
  • Posts: 5
Re: including urls with 307 redirect
« Reply #5 on: October 02, 2017, 10:02:41 AM »
have you found a solution to my problem?

Thanks for the update

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10913
Re: including urls with 307 redirect
« Reply #6 on: October 02, 2017, 03:41:26 PM »
Replied to your PM the same day. We would need access to the sitemap generator to be able to troubleshoot it.
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.

support330

  • Registered Customer
  • Approved member
  • *
  • Posts: 5
Re: including urls with 307 redirect
« Reply #7 on: October 04, 2017, 10:46:42 AM »
Thanks, the issue is fixed

 

SMF 2.0.14 | SMF © 2017, Simple Machines
XHTML RSS WAP2