XML Sitemaps Generator

Author Topic: Generator not writing sitemap.xml file but is writing others  (Read 8990 times)

darrylhein

  • Registered Customer
  • Approved member
  • *
  • Posts: 3
I've been having a problem with the sitemap generator not writing the XML file, but it does write everything else. It writes urllist.txt and ror.xml but the sitemap.xml is still empty.

Here are what the permissions are currently set to:

-rw-r--r-- 1 apache   apache   2.4K Jun 12 12:08 ror.xml
-rw-r--r-- 1 apache   apache   3.2K Jun 12 12:08 sitemap.html
-rw-rw-rw- 1 apache   apache      0 Jun 12 12:08 sitemap.xml
-rw-rw-rw- 1 apache   apache    239 Jun 12 12:08 urllist.txt

I've tried changing sitemap.xml to 777, but it makes no difference.

Any ideas what the problem is and how to solve it?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10625
Re: Generator not writing sitemap.xml file but is writing others
« Reply #1 on: June 13, 2012, 07:12:35 AM »
Hello,

please check that path to sitemap.xml is specified correctly in generator configuration.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

darrylhein

  • Registered Customer
  • Approved member
  • *
  • Posts: 3
Re: Generator not writing sitemap.xml file but is writing others
« Reply #2 on: June 13, 2012, 06:21:16 PM »
The path is correct. It's the same as the html sitemap, but with XML at the end. I've pasted the path at the command line and it opens the empty file.

It's very weird because it writes the HTML, ROR and url list files, but not the sitemap file.

The current install is fresh. I even tried it without changing anything and it didn't work. I've tried it without first creating the sitemap.xml file (it created an empty file) and after creating the blank file.

Any ideas?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10625
Re: Generator not writing sitemap.xml file but is writing others
« Reply #3 on: June 14, 2012, 12:52:22 PM »
Hello,

sitemap.xml cannot be located in generator/data/ folder (that's the place where backup copy is stored), you should store it in a different folder.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

darrylhein

  • Registered Customer
  • Approved member
  • *
  • Posts: 3
Re: Generator not writing sitemap.xml file but is writing others
« Reply #4 on: June 14, 2012, 04:10:06 PM »
Aha! Thank you. That fixed it.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2