• Welcome to Sitemap Generator Forum.
 

need to change saved folder for Text SiteMap

Started by paypal327, February 28, 2008, 05:51:33 PM

Previous topic - Next topic

paypal327

Hi

How do I chnage the folder for Text SiteMap   ?  it puts it in /data/urllist.txt.gz at the moment

Cheers

Roy

XML-Sitemaps Support

You can define it manually in config.inc.php file (both URL and filename):
'xs_sm_text_filename' => '',
'xs_sm_text_url' => '',

Danny Weiss

#2
Quote from: admin on February 28, 2008, 11:36:27 PM
You can define it manually in config.inc.php file (both URL and filename):
'xs_sm_text_filename' => '',
'xs_sm_text_url' => '',

I had this same problem - wanting the have the urllist.txt file appear in the same directory as the sitemaps.url file does.  For the other non-programmers among us, I thought the following might help enhance Oleg's explanation.

As Oleg says, you have to edit the config.inc.php file manually.  If you want urllist.xml to appear in the same location as sitemap.xml, you need to copy the settings from

'xs_smname' => ' ',
and
'xs_smurl' => ' ',

to

'xs_sm_text_filename' => ' ',
and
'xs_sm_text_url' => ' ',

The settings should be the same except, of course, for the actual file name at the end of each line which needs to be "urllist.txt"
- Danny


paypal327

Hi

Can you please explain - with an example - your comment ..

.The settings should be the same except, of course, for the actual file name at the end of each line which needs to be "urllist.txt"

Thanks