updated from 6-1.1 to 6-1.2 but now the XML file is empty - http://compshack.com/sitemap.xml

I've deleted cache more than once, flagged the site map as requiring update and ran cron manually few times BUT nothing. I have XML sitemap, XML sitemap node, and XML sitemap taxonomy modules enabled.

What am I missing?

CommentFileSizeAuthor
#5 xmlsitemap.jpg45.27 KBchintan4u

Comments

chintan4u’s picture

Hi........CompShack
I am also getting same problem...!
After running cron thousands of time i am not getting any xml file in " \sites\default\files\xmlsitemap " folder.

any luck in your case....?

pyxio’s picture

same here. no xml sitemap is generated. /sitemap.xml generates a 404 error. no such page is found. subscribing.

Anonymous’s picture

Status: Active » Postponed (maintainer needs more info)

You need to enable the content types to use xmlsitemap.

pyxio’s picture

The content types for the nodes I want included in the sitemap are enabled. The XML sitemap config says I have 85 links indexed by the sitemap. But when I click the sitemap url I get a page not found error. I guess the sitemap has been generated and exists somewhere but not in the usual location /sitemap.xml. Where can I find it?

chintan4u’s picture

Status: Postponed (maintainer needs more info) » Active
StatusFileSize
new45.27 KB

Hi....earnie

You need to enable the content types to use xmlsitemap.
1.>> In each content type i got this section
===============================================
XML sitemap
----------------------------------------
Changing these type settings will affect any items of this type that have either inclusion or priority set to default.
Inclusion:[[Drop down for excluded/included]] // here i have selected included.
Default priority: 0.5 (nomral)
===============================================
2. I run cron.
3. Then I rebuild links
4.updated cache files
5.but I am not getting any .xml file created in this "\sites\default\files\xmlsitemap\g3XYqcXbSKPVBDODwnT6pq7oqhCFkPryj4vVqrl_Kfc" folder.
6."xmlsitemap\g3XYqcXbSKPVBDODwnT6pq7oqhCFkPryj4vVqrl_Kfc" this my auto generated folder for xmlsitemap.

My system spec. are
xmlsitemap version = "6.x-2.0-beta2"
drupal 6.19
php 5.2.14
mysql 5.0.51a
apache 2.2.17
OS is windows 2003 server ( i m using as dev. server)

THANKS

Anonymous’s picture

Status: Active » Postponed (maintainer needs more info)

@chitan4u: I see the following indicating to me that this module is working for you.

<?xml version="1.0" encoding="UTF-8"?> 
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
  http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd"> 
  <sitemap> 
    <loc>http://www.compshack.com/sitemap0.xml</loc> 
    <lastmod>2011-03-17T06:52:24+00:00</lastmod> 
  </sitemap> 
  <sitemap> 
    <loc>http://www.compshack.com/sitemap1.xml</loc> 
    <lastmod>2011-01-21T17:06:26+00:00</lastmod> 
  </sitemap> 
</sitemapindex>

This is an index sitemap file to other sitemap files. The two chunk files contain the links to your site.

Anonymous’s picture

Oh, sorry, I posted what the OP had and obviously got working. I need to see an example of yoursite/sitemap.xml. I also need a confirmation on which versions you use, this ticket is for 6.x-1.2 only.

pyxio’s picture

I am using 6.x-2.0-beta2 and no sitemap is generated. Should I open a new ticket?

Anonymous’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

I am using 6.x-2.0-beta2 and no sitemap is generated. Should I open a new ticket?

Since it is a different version, yes. 2.x series code isn't similar to 1.x series code.

Since the original request appears to be resolved, setting this to fixed. If you're using the 1.x series then you'll need to move to the 2.x series for help since the 1.x series is no longer recommended.

chintan4u’s picture

-On ubuntu server with 777 permission to sites/default/files/xmlsitemap
-I got 1.xml file created in "NXhscRe0440PFpI5dSznEVgmauL25KojD7u4e9aZwOM" folder.
On this link
-After that i m getting site map on http://myseverip/sitemap.xml

rcahana’s picture