• Welcome to Sitemap Generator Forum.
 

Default sitemap locations

Started by rick, April 19, 2006, 06:49:58 PM

Previous topic - Next topic

rick

Hi,
I was able through the configuration screen to change the location of the sitemap.html file, but I would also like to move the urllist.txt file to my main folder, how can I do this?

-----------------------
PS I have found your program very satisfactory, thanks


XML-Sitemaps Support

Hello,

we do not provide a special option for urllist.txt file location (it is always stored in data/ folder), because Yahoo doesn't require the sitemap to be placed in the site's root and this file is not used by human visitors.
So, there is no special reason to move this file and we just avoided this option to have less inputs at configuration screen :)

rick

I disallow generator subdirectory through robots.txt

I think a lot of configuration problems would be solved if the sitemaps were all held in a separate  subdirectory oustside generator.

I was planning to put all the output files (sitemaps,urllist) in a subdirectory \sitemap with 766 permission.

XML-Sitemaps Support

Hello,

please re-download the script (using the same link) and install over your existing instance.
You will be able to configure text sitemap location then by manually editing the config.inc.php file.

FIND:
Quote'xs_sm_text_filename' => '',
    'xs_sm_text_url' => '',
and CHANGE IT to:
Quote'xs_sm_text_filename' => '/path/to/your/folder/urllist.txt',
    'xs_sm_text_url' => '[ External links are visible to logged in users only ]
Let me know if you have further questions.

rick

Wow,
What a service.
You fixed it faster than I checked for a reply!!

Thanks

admin3

I think it would be beneficial to allow an opption to specify location for Yahoo's map as well, even if they do not requite it to be in the root directory. I installed Generator in a  password protected directory, which means Yahoo! probably won't be able to get to it, since access to that directory is also disallowed in my robots file.

XML-Sitemaps Support

Hello,

it is allowed to specify location for Yahoo sitemap, as specified in my post above :)
You should just modify the config file manually for this.

lhschultz1

I would like to be able to change my default yahoo directory as well.  Where can i get the script to make that change to the config file?

Hollie
BabyGizmo.com

XML-Sitemaps Support

Hi,

you should *manually* open config.inc.php file in editor, perform modification as described in post above (https://www.xml-sitemaps.com/forum/index.php/topic,228.msg1012.html#msg1012 ) and upload modified file back to your host.

lhschultz1

I don't see this in the config file:
'xs_sm_text_filename' => '/path/to/your/folder/urllist.txt',
  'xs_sm_text_url' => '[ External links are visible to forum administrators only ]

I have this version:
Standalone Sitemap Generator (PHP) v2.1.1

Please advise,

Hollie
[ External links are visible to forum administrators only ]

XML-Sitemaps Support

Hello Hollie,

you should add these lines to the config file then, right after this line:
Quote$grab_parameters = array(
If you need assistance, please provide ftp access details and desired sitemap location in Private Message.