XML Sitemaps Generator

Author Topic: urllist.txt changing default path  (Read 8895 times)

Nicky-

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 11
urllist.txt changing default path
« on: June 29, 2011, 05:54:25 PM »
Hi

Where do I go to change the default path to the text list of urls ?

I would prefer that that text list is generated and resides in the root.

Thanks in advance

Nicky

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: urllist.txt changing default path
« Reply #1 on: June 30, 2011, 06:59:41 PM »
Hello,

you can define this in generator/data/generator.conf file:
<option name="xs_sm_text_filename">/path/to/file</option>
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.

Nicky-

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 11
Re: urllist.txt changing default path
« Reply #2 on: June 30, 2011, 08:36:18 PM »
Hi

Thanks, but that's not working. Please would you double-check your help syntax and give me a true example path. I have tried (13 times) with common variations of your mark-up but I must have something wrong. The url text list path (after countless trials) still points to within the generator folder. Many thanks in advance and this is not urgent but rather, as-and-when you have a moment. No worries.

Nicky

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: urllist.txt changing default path
« Reply #3 on: July 01, 2011, 11:29:40 AM »
Hello,

the setting mentioned above changes the folder where urllist file is saved. It looks like:

If you want to also change the *link* to it from generator interface page, you need another setting as well:
<option name="xs_sm_text_url">http://www.domain.com/urllist.txt</option>
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.

Nicky-

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 11
Re: urllist.txt changing default path
« Reply #4 on: July 01, 2011, 01:55:16 PM »
Hi

Still can't generate urllist.txt in the root!

I added/changed the *link* URL and that's pointing correctly from the generator interface page to where the urllist.txt should live but it's not finding the generated urllist.txt  (404)

Can you check these two lines please?

<option name="xs_maketxt">1</option>
<option name="xs_sm_text_urllist.txt">/home/jsmith/public_html/urllist.txt</option>

(I know the server file path of /home/jsmith/public_html/ is ok because it works for the html and ror sitemap generation)

I have created an empty urllist.txt in the root and permissions are set to 666

Regards
Nicky

ps the urllist.txt file is being generated successfully but remains firmly seated within the data folder!

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: urllist.txt changing default path
« Reply #5 on: July 02, 2011, 08:45:45 AM »
If you move it to the domain root, then you should manually create empty file named urllist.txt in root website folder and set 0666 permissions to it (same as with sitemap.xml, since generator script won't have permissions to write to that folder by default), then regenerate sitemap.
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.

Nicky-

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 11
Re: urllist.txt changing default path
« Reply #6 on: July 02, 2011, 03:04:22 PM »
Hi Oleg

Quote
then you should manually create empty file named urllist.txt in root website folder and set 0666 permissions

I have already tried this...

Quote
I have created an empty urllist.txt in the root and permissions are set to 666

It makes no difference.  Any further ideas?  Is this a .htaccess conflict perhaps?

Regards, Nicky

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: urllist.txt changing default path
« Reply #7 on: July 03, 2011, 05:24:06 PM »
Can you provide temporary ftp acces  in PM for troubleshooting?
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.

 

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