xml sitemap and url alias

chrysfwi - December 14, 2007 - 16:01
Project:XML Sitemap
Version:5.x-1.x-dev
Component:xmlsitemap_node
Category:support request
Priority:normal
Assigned:chrysfwi
Status:closed
Description

Hello,

First of all thanks for this great and useful module.

I'm using Drupal 5.3 version, Xml Sitemap 5.x-1.3, Pathauto 5.x-1.2, cleanurls enabled.

Maybe a silly question...
Xml Sitemap is working is working fine for me, except for one strange thing in the generated sitemap.xml...
Most of the urls appearing on the site map are formatted like that: http://www.sitename.com/subfolder/node/nodenumber instead of the url alias provided by pathauto module which is http://ww.sitename.com/subfolder/category/nodetitle... This happens for book pages and cck nodes as well. But taxonomy links are well formatted...

What can do that? Is this normal, is this a bug, is this a problem in my configuration ???

Thanks in advance for any idea or suggestion.

I am also anxious to see the next version of your module.

Best regards

#1

Darren Oh - December 17, 2007 - 16:29

Is this a duplicate of issue 199413?

#2

Darren Oh - December 17, 2007 - 16:31

Or 198173?

#3

chrysfwi - December 17, 2007 - 21:03

Hello Darren,

I've read the nodes references you provided... I think It is not a duplicate.
Let me know if you need some more info from me to understand this issue.
Best regards

#4

Darren Oh - December 17, 2007 - 23:12
Component:xmlsitemap» xmlsitemap_node

Does the xmlsitemap_node table have entries for the nodes which are missing aliases?

#5

chrysfwi - December 18, 2007 - 12:50

I have checked the tables and it is quite strange...
The sitemap list over 200 urls when accessed from the admin.
The xmlsitemap_node table only list 12 records!
For your information, I did not experienced any issue during install.
Should I need to upgrade to the new dev version dated on Dec. 18, 2007 and see if it fix the issue?

#6

chrysfwi - December 18, 2007 - 19:02
Version:5.x-1.3» 5.x-1.x-dev
Status:active» closed

Hello again Darren,

I ust upgraded your module to the Dev version 5.x-1.x.dev dated on Dec.18,2007 and after a database upgrade and 2 cron run, it fixed the issue.
The xmlsitemap_node table shows a correct number of nodes and the sitemap.xml correctly shows url alias (instead of plain urls).

I still do not know what has generated this, but it has been fixed by your dev version.

If you agree I will get the status of this issue to a closed issue.

Thanks again for this great module!

#7

janwari - December 31, 2007 - 08:55

Im facing a similar problem.

Sometimes on editing the node the sitemap updates with alias links created by pathauto module. Other times it does not.
I checked the xmlsitemap_node table and it does now have entries for the nodes which are missing aliases?

Hope there is a fix for this.

Thanks.

#8

omareduardo - January 7, 2008 - 22:10

I have the same problem

could you take a look at my sitemap and see if you know how to fix it?
http://omareduardo.com/sitemap.xml

thanks.

-Omar

#9

Darren Oh - January 8, 2008 - 01:58

Sorry, your site map won't show anything. The problem can only be diagnosed by looking at the database.

#10

omareduardo - January 8, 2008 - 08:43

oh sorry, how do I show you my database then?

#11

Darren Oh - January 8, 2008 - 14:58

You should contact me directly. Sharing that information here could allow anyone to take control of your site.

 
 

Drupal is a registered trademark of Dries Buytaert.