• Welcome to Sitemap Generator Forum.
 

including urls with 307 redirect

Started by support330, September 27, 2017, 09:58:25 AM

Previous topic - Next topic

support330

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 [ External links are visible to forum administrators only ] 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

XML-Sitemaps Support

Hello,

you can add this in generator/data/generator.conf file:
<option name="xs_allow_httpcode">307</option>

support330

I already tried that with the option:
<option name="xs_allow_httpcode">200|307</option>
this didn't change anything


support330


support330

have you found a solution to my problem?

Thanks for the update

XML-Sitemaps Support

Replied to your PM the same day. We would need access to the sitemap generator to be able to troubleshoot it.

support330