XML Sitemaps Generator

    Advanced search
Sitemap Generator Forum
October 07, 2008, 10:53:43 AM
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
   Home   Help Search Login Register  
Sitemap software 2.9 released - Email notifications, html sitemap customizing and more
7764 Posts in 1914 Topics by Members
Latest Member: sirkka.keranen
Pages: [1]
  Print  
Author Topic: priority setting: root vs index.htm  (Read 19753 times)
joshbeaulieu
Registered Customer
Newbie
*
Posts: 7


View Profile
« 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 admins 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 admins 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 admins only]' or '[external links are visible to admins 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?
Logged
admin
Administrator
Hero Member
*****
Posts: 3259


View Profile
« 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)
Logged

joshbeaulieu
Registered Customer
Newbie
*
Posts: 7


View Profile
« 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 Smiley
Logged
joshbeaulieu
Registered Customer
Newbie
*
Posts: 7


View Profile
« 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 admins only]$,,weekly,1.0
[external links are visible to admins only]

and the output:

<url>
  <loc>[external links are visible to admins 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 admins only]</loc>
  <priority>1.0</priority>
  <lastmod>2006-08-18T16:17:48+00:00</lastmod>
  <changefreq>weekly</changefreq>
</url>

What am I doing wrong?

Logged
admin
Administrator
Hero Member
*****
Posts: 3259


View Profile
« 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.
Logged

joshbeaulieu
Registered Customer
Newbie
*
Posts: 7


View Profile
« 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 admins only]" and "[external links are visible to admins 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?
Logged
admin
Administrator
Hero Member
*****
Posts: 3259


View Profile
« 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:
http://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).
Logged

joshbeaulieu
Registered Customer
Newbie
*
Posts: 7


View Profile
« Reply #7 on: August 29, 2006, 05:30:14 PM »

Hi Oleg / Admin,

Just wondering if you got my PM?

cheers
Josh Smiley
Logged
admin
Administrator
Hero Member
*****
Posts: 3259


View Profile
« Reply #8 on: August 31, 2006, 03:18:23 AM »

Got it Smiley
Logged

shangyu
Registered Customer
Newbie
*
Posts: 4


View Profile
« 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 admins only]. [external links are visible to admins only]$,,,1.0 also doesn't work for me. I also tried othe variations and failed. Did I miss something?

Logged
admin
Administrator
Hero Member
*****
Posts: 3259


View Profile
« Reply #10 on: October 20, 2006, 10:30:48 PM »

Hello,

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

shangyu
Registered Customer
Newbie
*
Posts: 4


View Profile
« Reply #11 on: October 21, 2006, 01:47:56 AM »

Hello,

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

Works!!! Thank you so much Smiley
Logged
shangyu
Registered Customer
Newbie
*
Posts: 4


View Profile
« 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 admins only]$,,,1.0
[external links are visible to admins only]$,,,1.0
dir/$,,,1.0

Thank you.
Logged
admin
Administrator
Hero Member
*****
Posts: 3259


View Profile
« Reply #13 on: October 22, 2006, 02:04:56 AM »

Hello,

this should work:
Code:
dir/$,,,1.0
if it doesn't, please let me know your generator URL in private message Smiley
Logged

shangyu
Registered Customer
Newbie
*
Posts: 4


View Profile
« Reply #14 on: October 22, 2006, 03:03:20 AM »

Oleg, I sent you a pm. Please check, thanks.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.6 | SMF © 2006, Simple Machines LLC Valid XHTML 1.0! Valid CSS!