File not found: sitemap-1.xml

kmillecam - May 12, 2009 - 15:56
Project:XML sitemap
Version:6.x-2.x-dev
Component:xmlsitemap.module
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

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

AttachmentSize
sitemap.png34.36 KB

#1

Dave Reid - May 12, 2009 - 22:35
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?

#2

kmillecam - May 12, 2009 - 23:08

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

#3

KiamLaLuno - May 12, 2009 - 23:35

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.

#4

kmillecam - May 12, 2009 - 23:57

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.

#5

Dave Reid - May 13, 2009 - 00:16

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

#6

KiamLaLuno - May 13, 2009 - 00:32

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

#7

kmillecam - May 13, 2009 - 01:00

WooHoo!

That did the trick.

Thanks for your help!

#8

kmillecam - May 14, 2009 - 01:08
Status:postponed (maintainer needs more info)» closed

#9

KiamLaLuno - May 14, 2009 - 03:03
Category:bug report» support request
Status:closed» fixed

#10

System Message - May 28, 2009 - 03:10
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.