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 forum administrators only ] -> (307) [ External links are visible to forum administrators 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 forum administrators only ] pointing to [ External links are visible to forum administrators only ] as the canonical page

none of these URLs are added to the sitemap.
[ External links are visible to forum administrators only ] (skipped because 307 redirect)
[ External links are visible to forum administrators 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 forum administrators only ]</option> tag in the generator conf, but the URL is still skipped.

We want to add the [ External links are visible to forum administrators 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
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>
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
Re: including urls with 307 redirect
« Reply #4 on: September 29, 2017, 03:59:14 PM »
i send you a PM
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
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.
Re: including urls with 307 redirect
« Reply #7 on: October 04, 2017, 10:46:42 AM »
Thanks, the issue is fixed