Sitemap module problem

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
mattandaniel

Sitemap module problem

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Sitemap module problem

Post by Dr.CSS »

I looked in the forge for a site map module with no luck, where did you find it?...
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm

Re: Sitemap module problem

Post 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
cyberman

Re: Sitemap module problem

Post by cyberman »

mark wrote: where did you find it?...
http://dev.cmsmadesimple.org/projects/gsgenerator/
mattandaniel

Re: Sitemap module problem

Post 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!
mattandaniel

Re: Sitemap module problem

Post 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!
Locked

Return to “[locked] Installation, Setup and Upgrade”