sitemap.xml not listing pages

Permalink
Hey all,

Haven't seen this before - I've got an install of 5.6.2.1 running (PHP Version
5.3.27) and when I try to generate the sitemap.xml file, the sitemap doesn't list any pages.

I've got about12 or 15 pages, and it spits out this -
http://mydomain.com/sitemap.xml file saved (0 pages).


The file generates the following:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
</urlset>


So far I've checked the file permissions, trashed the file and created a new one, trashed the automated job and then reinstalled it via phpmyadmin.

Anyone seen this or have any idea whats going on?

juddc
 
hostco replied on at Permalink Best Answer Reply
hostco
Hello,

This sounds like you have your site set to private access.

Change it to public access then try running the job again.
juddc replied on at Permalink Reply
juddc
*Facepalm*

Thats exactly what it was. Thank you.