HomeHomeDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsBlogBlogEntryID and SEOEntryID and SEO
Previous
 
Next
New Post
2/20/2008 5: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/26/2008 10:13 PM
 

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 12: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
HomeHomeDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsBlogBlogEntryID and SEOEntryID and SEO


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.