• Welcome to Sitemap Generator Forum.
 

GENERATOR PROBLEM: Build a sitemap for all pages in a certain folder

Started by nanovation, November 12, 2007, 11:54:04 PM

Previous topic - Next topic

nanovation

I would like to create a sitemap.xml file for all of my webpages (40,000) within a certain folder. The only problem is that my sitemap.html that links to all of the pages within this folder is located outside of the folder.

Thus, all 40,000 of my web pages are listed at http://www....com/sitemap.html. All the pages listed on this sitemap.html are located in the folder http://www....com/database/

Due to the way my website software is configured, I can not place the sitemap.html within this folder. So, how do I tell Generator to build a sitemap.xml file for all the files within a certain folder that are listed on my sitemap.html?   ???

Thanks for the help.

XML-Sitemaps Support

Hello,

you can specify ../sitemap.html as a Starting URL and in case if you have no links outside database/ folder in it, you should have all required links indexed in sitemap.

nanovation

I tried this first and your software sees / scans all 40,000 URLs, but does not include them in the sitemap.xml. I even tried specifying in the "include only" section "http://www....com/database/" but that did not help.

Any other suggestions?

XML-Sitemaps Support

Hello,

please check with our search engine robots simulator that your database/ pages do not have disallowing robots tags or any other points that restrict them from being indexed.

nanovation

Thanks. I was eventually able to get it to view all the pages. It hung every 3 minutes, so I had to restart it constantly. Took 4 days to complete because of the amount of times I had to restart it!

Now, 4 days later, I go to see the sitemap.xml and I see the following error message:

Warning: file(/home/content/n/a/n/nanovation69/html/generator/data/sitemap.xml): failed to open stream: No such file or directory in /home/content/n/a/n/nanovation69/html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 40

Warning: implode(): Bad arguments. in /home/content/n/a/n/nanovation69/html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 40

What needs to be done to fix this?
Thanks for the help.

nanovation

As a quick follow up, I gave sitemap.xml 666 permissions and the /data/ folder 777 permissions before starting, so I know that's not the problem.


nanovation

Unfortunately, the web pages in that directory are dynamically created from a database and are not "available" for giving permissions. Any other suggestions?