Products

Solutions

Learn More

Partners

Community

Blog

About

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 CommunityGeneral Discuss...General Discuss...Setting canonical link tag via a custom module?Setting canonical link tag via a custom module?
Previous
 
Next
New Post
9/30/2009 5:37 PM
 

Is it possible to add a header tag to handle the canonical link issue for search engiens within the logic of a custom module?

We have a module that renders content from a central repository onto multiple pages within a site.  Depending on the page on which an item is rendered it may or may not be what we deem as the canonical home for it, as one artcile could show in two locations, we want to apply logic within a custom module that would set the link tag accordingly.

Is there or what is the best way to add header level tags from within a module's code?

 
New Post
9/30/2009 9:23 PM
 

It's definitely possible - the Ifinity module does exactly this (another must-have mod for any large website ) -

http://www.ifinity.com.au/Products/Canonical_Links_For_DNN

I am not sure about the code but Google should be able to help...

 


Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
10/1/2009 5:58 AM
 

Thanks.  I guess I'm more looking for the DNN code that is required to create the actual HEAD tag entry from a module if that is possible.  I know what the canonical tag needs to be but we need a means to add it tothe HEAD section dynamically based on wha tthe module loads.

 
New Post
3/7/2019 11:36 PM
 
@mark did you ever find how to dynamically add canonical URLs into the header?
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Setting canonical link tag via a custom module?Setting canonical link tag via a custom module?


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.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  

What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out