I've installed v 1.20.2.45.2.47 2009/05/09 22:26:41 of xmlsitemap on my dev box.

Everything works really well (rebuild script is brilliant, addition of CSS to the sitemap is a great addition) but ...

I can open sitemap.xml but it refers (links) to two other files, sitemap-1.xml and sitemap-2.xml that cannot be found using the link in sitemap.xml

I've verified that the files do exist but we're running a psuedo multi-site setup so maybe sitemap.xml is assuming an incorrect URL?

In our scheme, sitemap files are located at sites/default/files/sitemaps/sitemap-1.xml

http://localhost/connect/sitemap.xml - resolves fine
http://localhost/connect/sitemap-1.xml - doesn't resolve
http://localhost/connect/sitemap-2.xml - doesn't resolve

Thanks for your help.
Kevin

CommentFileSizeAuthor
sitemap.png34.36 KBkmillecam

Comments

dave reid’s picture

Status: Active » Postponed (maintainer needs more info)

In what regards do you mean psuedo multi-site setup? Do you have xmlsitemap enabled on more than one of the sites that share the sites/default/files/sitemaps folder?

kmillecam’s picture

The client had us set up the site similar to a multi-site configuration so they could, if they wanted to, add other sites in the future. To answer your question, no, there are no other sites running on this server.

I mentioned this because the files folder is not in the traditional /files location but is at /sites/default/files

The xmlsitemap code appears to know about the location because it successfully created the /xmlsitemaps folder at /sites/default/files/xmlsitemaps

avpaderno’s picture

I mentioned this because the files folder is not in the traditional /files location but is at /sites/default/files

That is the directory normally used in Drupal 6, which doesn't use the /files directory anymore.

kmillecam’s picture

Oh, okay. Thanks for the clarification Kiam.

I guess that brings us back to square 1:

http://localhost/connect/sitemap.xml - resolves fine
http://localhost/connect/sitemap-1.xml - doesn't resolve
http://localhost/connect/sitemap-2.xml - doesn't resolve

sitemap-1.xml and sitemap-2.xml were properly created and do exist but the link to them (from sitemap.xml) results in a page not found error.

dave reid’s picture

Can you try visiting your admin/build/modules page and then seeing if the sitemap-1.xml and sitemap-2.xml pages resolve?

avpaderno’s picture

Click also on the Save configuration button at the bottom of the form.

kmillecam’s picture

WooHoo!

That did the trick.

Thanks for your help!

kmillecam’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)
avpaderno’s picture

Category: bug » support
Status: Closed (fixed) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.