possible bug with Gsitemap

amir abbas - July 24, 2007 - 15:28

hi everybody

i think there is a problem in Gsitemap.
i have installed the latest version of Gsitemap for drupal 5.1
i made a post and i used URL alias to make the URL human redable.

my post address is like this

http://www.persia-cms.com/first-post.html

but Gsitemap show me the standard form of URL:

http://www.persia-cms.com/node/1

address of my sitemap page
http://www.persia-cms.com/sitemap0.xml

i don't know that is a bug or my wrong configuration
this diffrences between URLs are vey harmful and your site will loose its position because google we see your page as duplicated content

how can i fix it ?
thanks in advance

Workaround for regenerating sitemap with correct aliases

earthandeconomy - July 24, 2007 - 16:19

Amir,

I am not a drupal expert by any means so there may be another way to accomplish what you are trying to do.

When faced with the same problem, here is what I do to regenerate the sitemap with the correct aliases:

First, I login to phpMyAdmin and then navigate to my database. I am assuming you have some way to view your database tables. If so, then search for a table called xmlsitemap.

Next, use the empty command to REMOVE the stored aliases in the table. NOTE: Use this method only if you have NOT added a large number of custom priorities or additional sitemap links or you will DELETE your customizations.

Last, return to admin/settings/xmlsitemap in the interface and click the save configuration button to regenerate the sitemap. Your correct human readable aliases should appear instead of node IDs.

This process is definitely not optimal when you want to customize priorities and add addtional links. I tend to rely completely on setting the priorities for content types using the xmlsitemap interface and I don't add custom URLs for the same reason...so I can remove the table values at any time and the regenerate the sitemap with the correct human readable aliases.

Hope this helps,

E&E

See issue

MacRonin - July 24, 2007 - 16:38

This issue opened a while back addresses the same problem/question.
At the moment there is only a workaround and not an official patch/fix. The work around involves updating the module priority

http://drupal.org/node/143994

-------------------
http://www.PrivacyDigest.com/ News from the Privacy Front
http://www.SunflowerChildren.org/ Helping children around the world

thanks MacRonin i tried to

amir abbas - July 24, 2007 - 18:56

thanks MacRonin

i tried to run this query

UPDATE system SET weight = 1 WHERE name = "gsitemap"

it doesn't work for me. can you guide me that how can i increase the module priority ?
thanks

______
www.persia-cms.com
سئو ، طراحی وب ، موبایل ، نرم افزار

I used the module

MacRonin - July 25, 2007 - 02:42

I didn't use the direct MySQL command. I used the module that controls module weight/processing order. if you are trying the direct command you might want to post the error that you received in that issue thread. It's got a better chance of being seen by someone who already did it that way.

-------------------
http://www.PrivacyDigest.com/ News from the Privacy Front
http://www.SunflowerChildren.org/ Helping children around the world

thanks

amir abbas - July 25, 2007 - 05:45

thanks

installing weightmodule solved my problem.
:)
______
www.persia-cms.com
سئو ، طراحی وب ، موبایل ، نرم افزار

thanks MacRonin i tried to

amir abbas - July 24, 2007 - 18:58

thanks MacRonin

i tried to run this query

UPDATE system SET weight = 1 WHERE name = "gsitemap"

it doesn't work for me. can you guide me that how can i increase the module priority ?
thanks

______
www.persia-cms.com
سئو ، طراحی وب ، موبایل ، نرم افزار

thanks MacRonin i tried to

amir abbas - July 24, 2007 - 19:02

thanks MacRonin

i tried to run this query

UPDATE system SET weight = 1 WHERE name = "gsitemap"

it doesn't work for me. can you guide me that how can i increase the module priority ?
thanks

______
www.persia-cms.com
سئو ، طراحی وب ، موبایل ، نرم افزار

thanks MacRonin

amir abbas - July 24, 2007 - 19:19

oh
my internet connection has problem
my comment sent several times.

______
www.persia-cms.com
سئو ، طراحی وب ، موبایل ، نرم افزار

XML Sitemap

ghoch - July 27, 2007 - 15:55

Need to create XML sitemap files for your sites or to notify search engines about updated sitemap files? Try Sitemap Writer Pro.
http://www.sitemapwriter.com
It is a powerfull tool that helps you to create and keep up-to-date sitemaps for your websites.
Sitemap Writer Pro has new tools
http://www.sitemapwriter.com/onlinedocumentation.php#tools
FTP manager for uploading sitemaps,
search engine notification tool (now supports for Google, Yahoo, Ask.com and MSN.com),
http://www.sitemapwriter.com/notify.php
site crawler for adding an URLs into the sitemap
http://www.sitemapwriter.com/onlinedocumentation.php#crawler
and Yahoo Index viewer.
To download Sitemap Writer Pro
http://www.sitemapwriter.com/download.php

 
 

Drupal is a registered trademark of Dries Buytaert.