priority setting: root vs index.htm
« on: August 18, 2006, 12:45:29 AM »
Hi there,

My default priority is 0.5 and update is monthly.  However, I wish my main page to be 1.0 and weekly.  I am employing the individual attributes in the Config.  The problem is that the root, and the index.htm cannot both be 1.0... without making ALL the files 1.0 and weekly.  See:

<url>
  <loc>[ External links are visible to forum administrators only ]</loc>
  <priority>0.5</priority>
  <lastmod>2006-08-17T14:29:35+00:00</lastmod>
  <changefreq>monthly</changefreq>
</url>
<url>
  <loc>[ External links are visible to forum administrators only ]</loc>
  <priority>1.0</priority>
  <lastmod>2006-08-17T18:37:09+00:00</lastmod>
  <changefreq>weekly</changefreq>
</url>

When I put '[ External links are visible to forum administrators only ]' or '[ External links are visible to forum administrators only ]' in the individual attributes to specify the root, it thinks I mean for ALL the files in the website.  How can I fix this?
Re: priority setting: root vs index.htm
« Reply #1 on: August 18, 2006, 08:50:58 PM »
Hello,

you can use the following string in individual attributes option to select homepage ONLY:
www.domian.com/$

(notice $ character at the end)
Re: priority setting: root vs index.htm
« Reply #2 on: August 18, 2006, 10:07:52 PM »
Thanks!  BTW, i figured out why my one site wasnt' working... was a problem at my end / my server's end.

cheers :)
Re: priority setting: root vs index.htm
« Reply #3 on: August 18, 2006, 10:20:54 PM »
Hmm it won't work though.  I checked and I do have ver2.2.  Here's what I've got:

[ External links are visible to forum administrators only ]$,,weekly,1.0
[ External links are visible to forum administrators only ]

and the output:

<url>
  <loc>[ External links are visible to forum administrators only ]</loc>
  <priority>0.5</priority>
  <lastmod>2006-08-17T14:29:35+00:00</lastmod>
  <changefreq>monthly</changefreq>
</url>
<url>
  <loc>[ External links are visible to forum administrators only ]</loc>
  <priority>1.0</priority>
  <lastmod>2006-08-18T16:17:48+00:00</lastmod>
  <changefreq>weekly</changefreq>
</url>

What am I doing wrong?

Re: priority setting: root vs index.htm
« Reply #4 on: August 20, 2006, 01:43:45 AM »
Hello,

please try to add it without "http://" part, as I specified in the example.
Re: priority setting: root vs index.htm
« Reply #5 on: August 24, 2006, 11:17:09 PM »
It is not working.  I just want to have both the "[ External links are visible to forum administrators only ]" and "[ External links are visible to forum administrators only ]" be at priority 1.0 instead of the default 0.5. 

Can the software not do this?  Why is this so hard to set up?

Also I'm noticing that even though I've specied "Use server's response" for last updated, it produces the current time, for all files.

How can I fix these problems?
Re: priority setting: root vs index.htm
« Reply #6 on: August 25, 2006, 11:44:31 PM »
Hello,

Quote
It is not working.  I just want to have both the "http://www.domain.com" and "http://www.domain.com/index.htm" be at priority 1.0 instead of the default 0.5. 
please let me know your generator instance URL/login so that I can check that:
https://www.xml-sitemaps.com/forum/index.php?action=profile;u=1

Quote
Also I'm noticing that even though I've specied "Use server's response" for last updated, it produces the current time, for all files.
Sitemap Generator inserts current timestamp in case if server doesn't return "Last-modification time" header (which is the case for all dynamically generated pages, for instance).
Re: priority setting: root vs index.htm
« Reply #7 on: August 29, 2006, 05:30:14 PM »
Hi Oleg / Admin,

Just wondering if you got my PM?

cheers
Josh :)
Re: priority setting: root vs index.htm
« Reply #9 on: October 20, 2006, 06:36:11 AM »
I simply want to set a different priority for the homepage [ External links are visible to forum administrators only ]. [ External links are visible to forum administrators only ]$,,,1.0 also doesn't work for me. I also tried othe variations and failed. Did I miss something?

Re: priority setting: root vs index.htm
« Reply #10 on: October 20, 2006, 10:30:48 PM »
Hello,

please try the following to set individual attributes for the domain root:
Code: [Select]
www.domain.com//$,,,1.0(notice double slash after domain name)
Re: priority setting: root vs index.htm
« Reply #11 on: October 21, 2006, 01:47:56 AM »
Hello,

please try the following to set individual attributes for the domain root:
Code: [Select]
www.domain.com//$,,,1.0(notice double slash after domain name)

Works!!! Thank you so much :)
Re: priority setting: root vs index.htm
« Reply #12 on: October 22, 2006, 01:25:02 AM »
Hi Oleg

I want to set individual attributes for the index page of a folder, however, following variations didn't work on my site. Is there any other option?

Quote
[ External links are visible to forum administrators only ]$,,,1.0
[ External links are visible to forum administrators only ]$,,,1.0
dir/$,,,1.0

Thank you.
Re: priority setting: root vs index.htm
« Reply #13 on: October 22, 2006, 02:04:56 AM »
Hello,

this should work:
Code: [Select]
dir/$,,,1.0if it doesn't, please let me know your generator URL in private message :)
Re: priority setting: root vs index.htm
« Reply #14 on: October 22, 2006, 03:03:20 AM »
Oleg, I sent you a pm. Please check, thanks.