Page 1 of 1
Sitemap module problem
Posted: Mon Nov 20, 2006 3:47 am
by mattandaniel
Hi,
I've downloaded the sitemaps module, but I'm having trouble getting it up and running. When I hit the php file, the sitemap generated doesn't contain any urls:
Code: Select all
<urlset xsi:schemaLocation="http://www.google.com/schemas/sitemap/0.84 http://www.google.com/schemas/sitemap/0.84/sitemap.xsd">
</urlset>
I've got the file installed in the root directory of the site as suggested in the install instructions. Can anyone shed any light?
Thanks
Re: Sitemap module problem
Posted: Mon Nov 20, 2006 4:09 am
by Dr.CSS
I looked in the forge for a site map module with no luck, where did you find it?...
Re: Sitemap module problem
Posted: Mon Nov 20, 2006 8:22 am
by Russ
Did you put it in the root of your website and call it sitmap.php ? Mine works. Do you have a link we can look at.
Russ
Re: Sitemap module problem
Posted: Mon Nov 20, 2006 8:28 am
by cyberman
Re: Sitemap module problem
Posted: Tue Nov 21, 2006 12:48 am
by mattandaniel
Yup, the file's in the site root (public_html) and I've renamed it to sitemap.php, but doesn't seem to have made any difference.
One thing to note is that the site actually contains a website for both Australia and New Zealand. The structure is like this:
1. Home (Contains user defined tag with redirect script, directs to appropriate homepage based on domain. There are no sub-pages).
2. Australian Site
3. New Zealand Site
I've tried removing the tag in the home page, and also adding some sub pages to the home page, but this seems to have no effect. The url is here:
http://www.carepark.com.au/sitemap.php/
Any more thoughts?
Thanks!
Re: Sitemap module problem
Posted: Wed Nov 22, 2006 3:15 am
by mattandaniel
Stefan, the developer of this module, gave me a tip as to the problem - I didn't have a 'root_url' set in the config file. I had left it blank to get around another problem ... which has since been resolved. So, I've finally got sitemaps working!
Thanks, Stefan!