Learn More





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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...rel alternative canonicalrel alternative canonical
New Post
3/30/2015 5:05 AM


Do we have a solouton for handling <link rel="alternative"> in DNN - other than manually adding this to the header on each page?

The alternative tells Google that, for example, 2 webpages actually are the same page. It could be the same page in to different languages or the same page for mobile phones and for desktops.


So there are 2 important occasions that this could be of great use for boosting your SEO.

1. When you have language support on your site.

This should not be that much trouble getting automated in the header as DNN already keeps track of the corresponding page localizations/languages? 


2. When your use a sepparate mobile site, instead of making your main website responsive (Separate URLs).

This is a little bit more tricky to solve. The URLs could differ quite much between the desktop and mobile sites. I guess we will need some kind of option for manipulating the URL output here.


Is there some way to achieve this in DNN? Maybe there are some plugin that I've missed? :)


New Post
4/5/2015 7:47 AM

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
New Post
4/13/2015 9:27 AM

Yes, I have read those articles. But I am not sure if this is what I am looking for. :)

This seems to be redirects. I am looking for links (canonical/alternativ) in the header, for the search engine only. Not for the users. 


This is what I would like to achieve for a mobile site: - mobile site with this in the header:

<link rel="canonical" href="" > - regular site with this in the header:

<link rel="alternate" media="only screen and (max-width: 640px)" href="" >


One can add this manually. But that would be very time consuming if it needs to be done on a larger website.


This type of redirection could be very critical to pages that isn't responsive as this will start to affect Google ranking by 21 april. 



The redirections for my multilanguage site works fine. I still can't see any tags like these though:

<link rel="alternate" href="" hreflang="en-us" />


HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...rel alternative canonicalrel alternative canonical

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.
Try Evoq
For Free
Start Free Trial
a Demo
See Evoq Live
Need More Information?