XML Sitemaps Generator

Author Topic: Individual attributes & resulting prioritisation  (Read 19803 times)

billing17

  • Registered Customer
  • Approved member
  • *
  • Posts: 6
Individual attributes & resulting prioritisation
« on: April 30, 2007, 01:34:18 PM »
Hi,
I've just installed the generator and have been working through setting it up.

I added in individual attributes like so:
[external links are visible to admins only]
[external links are visible to admins only]
[external links are visible to admins only]

The first is the home page, obviously, which I want to be priority 1.0.
The second is the blog home which I'd like to be 0.8 and thirdly, the Services page which I want set at 0.9

The problem is, this then generates the sitemap with ALL pages at priority 1.0. I can understand why but my site does not link to the home page using index.php so the above is the only way I can set the priority for the home page.

In my mind the software needs to take the above as meaning those specific pages and using a wildcard to denote where the priority should be set for entire folders.

For example:
[external links are visible to admins only]
[external links are visible to admins only]*,,daily,0.8
[external links are visible to admins only]

The above would set my home page to 1.0 and my services page to 0.9. It would then also set ALL pages on my blog to 0.8.

Also, my blog URLs are in the following format: [external links are visible to admins only] so even better would be this:
[external links are visible to admins only]
[external links are visible to admins only],com/blog/category/*,,daily,0.7
[external links are visible to admins only],com/blog/([0-9]+)/*,,,0.8
[external links are visible to admins only],com/blog/*,,daily,0.6

The above would set all blog posts (see how the regex matches the ID number) to 0.8 and all category pages to 0.7 while the rest would be set at 0.6.

Otherwise it's really difficult to set individual priorities for the most important pages. Especially the home page and blogs where manually updating the site map would be required each time the blog is updated.

Phil

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Individual attributes & resulting prioritisation
« Reply #1 on: May 01, 2007, 09:53:17 PM »
Hello,

please try to enter your homepage attributes in the last line (instead of the first line).
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.

billing17

  • Registered Customer
  • Approved member
  • *
  • Posts: 6
Re: Individual attributes & resulting prioritisation
« Reply #2 on: May 04, 2007, 10:50:35 AM »
Hmm... okay, I did that. The pages that I specify before the home page have the correct prioritisation, but then the home page and all other pages still have prority 1...

How about the regex?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Individual attributes & resulting prioritisation
« Reply #3 on: May 04, 2007, 11:22:10 PM »
Try to change it to:


http://www.snipsnip.com//$,,daily,1.0
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.

billing17

  • Registered Customer
  • Approved member
  • *
  • Posts: 6
Re: Individual attributes & resulting prioritisation
« Reply #4 on: May 08, 2007, 10:36:48 AM »
BINGO!

 

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