XML Sitemaps Generator

Author Topic: priority setting: root vs index.htm  (Read 39191 times)

joshbeaulieu

  • Registered Customer
  • Approved member
  • *
  • Posts: 7
priority setting: root vs index.htm
« on: August 17, 2006, 11:45:29 PM »
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?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: priority setting: root vs index.htm
« Reply #1 on: August 18, 2006, 07: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)
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.

joshbeaulieu

  • Registered Customer
  • Approved member
  • *
  • Posts: 7
Re: priority setting: root vs index.htm
« Reply #2 on: August 18, 2006, 09: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 :)

joshbeaulieu

  • Registered Customer
  • Approved member
  • *
  • Posts: 7
Re: priority setting: root vs index.htm
« Reply #3 on: August 18, 2006, 09: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?


XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: priority setting: root vs index.htm
« Reply #4 on: August 20, 2006, 12:43:45 AM »
Hello,

please try to add it without "http://" part, as I specified in the example.
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.

joshbeaulieu

  • Registered Customer
  • Approved member
  • *
  • Posts: 7
Re: priority setting: root vs index.htm
« Reply #5 on: August 24, 2006, 10: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?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: priority setting: root vs index.htm
« Reply #6 on: August 25, 2006, 10: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).
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.

joshbeaulieu

  • Registered Customer
  • Approved member
  • *
  • Posts: 7
Re: priority setting: root vs index.htm
« Reply #7 on: August 29, 2006, 04:30:14 PM »
Hi Oleg / Admin,

Just wondering if you got my PM?

cheers
Josh :)

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: priority setting: root vs index.htm
« Reply #8 on: August 31, 2006, 02:18:23 AM »
Got it :)
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.

shangyu

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
Re: priority setting: root vs index.htm
« Reply #9 on: October 20, 2006, 05: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?


XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: priority setting: root vs index.htm
« Reply #10 on: October 20, 2006, 09: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)
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.

shangyu

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
Re: priority setting: root vs index.htm
« Reply #11 on: October 21, 2006, 12:47:56 AM »
[external links are visible to admins only]
Hello,

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

Works!!! Thank you so much :)

shangyu

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
Re: priority setting: root vs index.htm
« Reply #12 on: October 22, 2006, 12: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.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: priority setting: root vs index.htm
« Reply #13 on: October 22, 2006, 01: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 :)
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.

shangyu

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
Re: priority setting: root vs index.htm
« Reply #14 on: October 22, 2006, 02:03:20 AM »
Oleg, I sent you a pm. Please check, thanks.

 

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