When the path aliases are deleted, XML Sitemap should force an update of the site map, and delete any cached content. If the site map still uses a path alias that has been deleted, it could cause a 404 HTML code when the search engine tries to access the URL it finds in the site map.

Comments

avpaderno’s picture

This has implemented in CVS; maybe the code should also verify when the Pathauto settings are changed.

avpaderno’s picture

This has been completely implemented in CVS.
The code should be ported to the Drupal 5 branch.

avpaderno’s picture

Version: 6.x-1.x-dev » 5.x-2.x-dev
kardave’s picture

Version: 5.x-2.x-dev » 5.x-1.6

Google drops a warning for my sitemap. It doesn't like redirected urls.

Sitemap errors and warnings
Details 	- 	URLs not followed
When we tested a sample of URLs from your Sitemap, we found that some URLs redirect to other locations. We recommend that your Sitemap contain URLs that point to the final destination (the redirect target) instead of redirecting to another URL.

HTTP Error:
URL: http://www.mysite.com/taxonomy/term/275 
Problem detected on: 	301 (Moved permanently)

This path is redirected to its alias. But the sitemap shows this, and not the alias.
What can I do?
I use pathauto, and drupal 5.
I will soon import 26000 stories into drupal. Please help me.

Thanks, David

Update: reinstalling the xmlsitemap_term module helped.

avpaderno’s picture

Version: 5.x-1.6 » 5.x-2.x-dev

This report is about a change in the code that a maintainer should implement; please don't change anything on the report, nor add anything that is not related with that.

Anonymous’s picture

avpaderno’s picture

I am removing the not necessary tags.

Status: Fixed » Closed (fixed)

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