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

HomeHomeOur CommunityOur CommunityCommunity Membe...Community Membe...Canonical SkinObject availableCanonical SkinObject available
Previous
 
Next
New Post
2/26/2009 11:39 AM
 

After reading Tom Kraak's post on the new canonical link tag... and talking to him and Stefan Culmann... I am still convinced that a SkinObject is a good solution in many cases  If you are liek me... - follow the white rabbit...

  1. Download file and install it as you would any module.
     
  2. Add a reference to it in the skin in the same manner it is done for any other SkinObject - i.e. <%@ Register TagPrefix="vp" TagName="CANONICAL" Src="~/DesktopModules/CanonicalSkinObject/Canonical.ascx" %>

  3. It takes three parameters:
    1. HREF - it doesn't care what you entered, or if you entered anything altogether. So make sure you've entered a full domain name - i.e. http://continure.com...
    2. ExcludeCanonical - True/False (default False) - if set to true, the tag will not be added to the page which url is set to as canonical
    3. ExcludeQueryString - True/False (default False) - if set to true, the tag will exclude any query string that may be in url, so http://continure.com/home.aspx?ctl=login woudl have http://continure.com/home.aspx as canonical href in the tag
Example: <vp:CANONICAL runat="server" id="canon" HREF="http://continure.com" ExcludeCanonical="true" ExcludeQueryString="true" />

NOTE: For HREF parameter you should only add DOMAIN - not the full url. The Skin Object will take care of the rest... For example, for this site we've entered HREF="http://continure.com" - but the net result for this page is <link rel="canonical" href="http://continure.com/downloads.aspx" />

Issues, problems, questions, praises - feel free to contact us!


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post
2/26/2009 12:30 PM
 

Vitally it looks like a good addition. I have read the offical blog post from Stefan and he says that adding code to Page Settings (head section) should help. But this skin object helps with default dnn pages too, right?


Or-Rouge Team Or-Rouge
Personally recommend Hostgator for hosting single or multiple DotNetNuke Websites.
DotNetNuke Tips and Tutorials
Install DotNetNuke to Godaddy root
DotNetNuke Türkçe Hakkinda Hersey
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityCommunity Membe...Community Membe...Canonical SkinObject availableCanonical SkinObject available


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