Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogEntryID and SEOEntryID and SEO
Previous
 
Next
New Post
2/20/2008 9:49 PM
 

Thanks - I'll look at Scotts module (Ventrian) instead of the built in blog module.

Just a suggestion for those maintaining the blog module :-

As a quick and dirty step towards making it more seo friendly you could add the title as a query string param (even if its not used) - at least google is smart enough to understand a limited amount of qs params.

e.g. 

Default.aspx?tabid=61&EntryID=101

Could become 

Default.aspx?tabid=61&EntryID=101&BlogTitle=Everytihng+you+ever+wanted+to+know+about+rabbits

Just my tuppence worth!

 
New Post
2/27/2008 2:13 AM
 

To add my 2 cents worth for the Blog Module developers - the way that Scott's News Articles module puts the name into the Url is not some type of weird hack, it simply uses a feature of the Friendly Url Provider interface that is little used - which is, you don't have to use default.aspx when calling the friendly Url Provider.

Most module developers use the NavigateUrl() call to generate a DNN url, which is fine.  But you can also call the friendly Url Provider directly yourself to generate a Url.  You shoudl first check that FriendlyUrls are switched on, and if they are, get an instance of the loaded FriendlyUrlProvider and call this overload:

FriendlyUrl(tab as TabInfo, path as string, pageName as string)

tab - the tab you want the Url generated for

path - the default.aspx?tabId=nn&entryId=xx non-friendly path you wish to convert into a friendly Url

pageName - my-big-long-page-name.aspx

This will generate a friendly Url of /TabPath/tabId/nn/EntryId/xx/my-big-long-page-name.aspx

Note that this is part of any friendly Url provider - standard DNN or any other.  You can do this in two lines of code using only DNN core code, no third party modules at all.

Incidentally, if you use my iFinity Friendly Url Provider the generated Url from the above call would be either:

/TabPath/EntryId/xx/My-Big-Long-Page-Name.aspx (using extensions)

/TabPath/EntryId/xx/My-Big-Long-Page-Name/  (using extensions)

It's a little know and undocumented feature that all module developers should be using!

 
New Post
2/27/2008 4:25 AM
 

Thanks to Bruce for pointing this out, this would be a great enhancement to the blog boule if implemented so I have taken the liberty of creating a new entry in Gemini requesting this feature. Check it out here.  

In doing so I noted, for the first time, that when you are logged into Gemini there is a 'vote' feature for each feature request in Gemini (in the right hand column under 'Issue Details' and just above the heading 'Time', but only visible if you are logged in to Gemini). I don't know how much importance is attached by the Module / Core teams to the number of votes cast for a change request but feel free to cast your vote for this enhancement if you, agree with it (and have a gemini account).

eoghano

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogEntryID and SEOEntryID and SEO


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out