Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Apr 4, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant