ThiagoAlipio / sitemap-generators

Automatically exported from code.google.com/p/sitemap-generators
0 stars 0 forks source link

Migrated bug: "Pre-Notification Verification Does Not Honor 302 Redirects" reported by jareddunne on 2006-02-01 #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Original bug listed here:
http://sourceforge.net/tracker/index.php?func=detail&aid=1421981&group_id=137793
&atid=739383

Steps to Reproduce:
1) Setup a web server so that
http://www.mysite.com/sitemap.xml.gz 302 redirects to
http://www.anothersite.com/www.mysite.com/sitemap.xml.gz
(I'll call this the REDIRECT_LOCATION).
2) Create a config xml file with some URLs and the
config values: suppress_search_engine_notify="0",
base_url="http://www.mysite.com", verbose="1"
store_into="<webserver path to REDIRECT_LOCATION>"
3) Run the generator.

Expected Results / Output:
Generator runs, creates sitemap, and notifies Google
with no warnings/errors.
ie:
Notifying search engines.
Notifying: www.google.com

Actual Results / Output:
Generator runs, creates sitemap, and outputs errors
before notifying Google.
ie:
Notifying search engines.
[ERROR] When attempting to access our generated Sitemap
at the following URL:
http://www.mysite.com/sitemap.xml.gz
we failed to read it. Please verify the store_into
path you specified in
your configuration file is web-accessable. Consult
the FAQ for more
information.
[WARNING] Proceeding to notify with an unverifyable URL.
Notifying: www.google.com

Note on 302 Redirects:
Google Sitemaps honors 302 redirects to sitemaps, so
the Generator should too. This is used in our company
to host all our client-site's sitemaps on one webserver
instead having to move each individual sitemap onto the
client's server.

Original issue reported on code.google.com by api.ma...@gmail.com on 13 Aug 2007 at 7:31