Feb
28
Written by:
Dylan Barber
2/28/2009 12:36 AM
Great article on fixing a small SEO problem in DNN from Eguana Solutions - if you are serious about making the DNN sitemaps reflect the correct priority of your pages this is a start.
http://www.eguanasolutions.com/DNN_Blog/EntryID/8.aspx
Great article on fixing a small SEO problem in DNN from Eguana Solutions - if you are serious about making the DNN sitemaps reflect the correct priority of your pages this is a start.
After following their directions you can also add this bit of code before line 109 - line 109 should be
sb.Append(BuildURL(URL, 2, pagePriority))
1: If objTab.Keywords.Contains("PPV") Then
2: Dim xString() as String = objTab.KeyWords.Split(",")
3: For each xThing as String in xString
4: If xThing.Contains("PPV") Then
5: pagePriority = xThing.Substring(4)
6: End If
7: Next
8: End If
This will add in the PPV= keyword that mamlin talks about in the blog post under 'Taking Complete Control of Page Priority Values'. Now in the keywords of the pages you can add 'PPV=' and a value from 0.0 to 1.0 (please note it needs to capitalized and have an equals before the value).
Tags:
5 comment(s) so far...
Re: Improve page priority feature of DNN's Google SiteMap
Hi Dylan, thanks for this code, however, when I add this code (without the line numbers 1-8), and added Keyword PPV=1.0 to my home page keywords as the first item, then followed by a comma and several other keywords, the Sitemap.aspx link only gives me a blank page (vs the normal list of all links).
I did all of mamlin's tweaks and it works fine. I add your code, and blank page(not syntax error, just blank), remove your code, and works fine.
Is there something obvious I'm missing? So far only one page has PPV in keywords for testing. Do I need to to it to more than one page? Thanks!
By Brad Durbin on
5/13/2009 12:08 PM
|
Re: Improve page priority feature of DNN's Google SiteMap
I would need to see the vb file to give any real direction on possible problems One thing I know people have done becuase I s*** as a writer is add the snippit I made after the line 109 when it should be before 109 - but i cant think of why it would prevent the page from doing anything. You can send me the file to look over if you like at (dylan.barber@embarqmail.com)
By Dylan Barber on
5/13/2009 12:28 PM
|
Re: Improve page priority feature of DNN's Google SiteMap
That's great, I never thought about Improve page priority feature of DNN's Google SiteMap like that before.
By Site Tool on
9/5/2009 1:44 AM
|
Re: Improve page priority feature of DNN's Google SiteMap
Glad you like it ofcourse with DNN 5 the point is moot
By Dylan Barber on
9/5/2009 1:45 AM
|
Re: Improve page priority feature of DNN's Google SiteMap
Excellently written article, if all bloggers offered the same content as you, the internet would be a much better place. Please keep it up! Cheers.
By Torrents Search on
2/11/2010 7:36 AM
|