XML Sitemaps Generator

    Advanced search
Sitemap Generator Forum
July 05, 2008, 05:26:41 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
6618 Posts in 1634 Topics by Members
Latest Member: mariebenz
Pages: [1]
  Print  
Author Topic: Individual attributes & resulting prioritisation  (Read 5012 times)
billing17
Registered Customer
Newbie
*
Posts: 6


View Profile
« on: April 30, 2007, 02: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
Logged
admin
Administrator
Hero Member
*****
Posts: 2755


View Profile
« Reply #1 on: May 01, 2007, 10:53:17 PM »

Hello,

please try to enter your homepage attributes in the last line (instead of the first line).
Logged

billing17
Registered Customer
Newbie
*
Posts: 6


View Profile
« Reply #2 on: May 04, 2007, 11: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?
Logged
admin
Administrator
Hero Member
*****
Posts: 2755


View Profile
« Reply #3 on: May 05, 2007, 12:22:10 AM »

Try to change it to:


http://www.snipsnip.com//$,,daily,1.0
Logged

billing17
Registered Customer
Newbie
*
Posts: 6


View Profile
« Reply #4 on: May 08, 2007, 11:36:48 AM »

BINGO!
Logged
Pages: [1]
  Print  
 
Jump to:  

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