Posted by jimboh on January 11, 2012 at 3:56am
2 followers
Jump to:
| Project: | XML sitemap |
| Version: | 7.x-2.x-dev |
| Component: | xmlsitemap.module |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I have seen this error raised in different issues, I raised it as a support issue because I dont think its a bug. Just wanted to comment in case others are spending hours trying to work out why their sitemap has only 1 entry!
I was seeing 46 links only 1 url when following the sitemap link which was at www.mysite.com/sitemap.xml
However when I visited mysite.com/sitemap.xml (without the www) I see 46 urls!
I am not sure, but I think I may have used my hosts Auto Install to install drupal 7 this time, could I have a problem with my .access?
Comments
#1
I'm thinking you've some configuration to do on the sites directory.
You're seeing differing results for www.example.com versus example.com because Drupal sees two different sites. Possibly one is ending up in the default site. When I configure my sites I always create a www.example.com and a symlink example.com so that I'm sure that the two always grab the same settings.php file. I also never have a settings.php in the default site to prevent the accidental configuration.
HTH,
Earnie