Archive
Monthly
Go
|
|
DNN Blog
Feb
17
Posted by:
Stefan Cullmann
Tue, 17 Feb 2009 21:31:54 GMT
Today I stumbled upon the new Canonical URL tag used by Google, Yahoo and Microsoft. It helps you to setup the default URL the Search Engine should have for your page. For example the DotNetNuke Download Page is accessible through these links:
http://www.dotnetnuke.com/tabid/125/default.aspx,
http://www.dotnetnuke.com/Development/Downloads.aspx and
http://downloads.dotnetnuke.com (which 301-redirects to the first URL )
The new tag allows you now to give the search engines a hint about your favorite Url for that page.
Adding the code
<link rel="canonical" href="http://downloads.dotnetnuke.com" />
to the head section of your page, search engines will recognize even the redirect(*) as default for your page. (* Cross domain redirects are currently not allowed).
The first modules for Wordpress and Drupal already exist, but what is about DotNetNuke?
It doesn't need any special module for that task.
Just open Page Settings -> Advanced Settings and place the tag inside the Page Header Tags.
:-)
4 comment(s) so far...
Re: Canonical Url and DotNetNuke
Credit goes to Will Strohl and Tom Kraak for pointing me to the right way!
By Stefan Cullmann on
Tue, 17 Feb 2009 23:02:57 GMT
|
Re: Canonical Url and DotNetNuke
You right Stefan for regular pages it works out of the box, but in some modules, e.g. Ventrian's News Articles, it should be added dynamically for each article.
By peter schotman on
Wed, 18 Feb 2009 09:27:17 GMT
|
Re: Canonical Url and DotNetNuke
Did you see my canonical skin object yet? www.continure.com/downloads.aspx
By Vitaly Kozadayev on
Thu, 26 Feb 2009 16:48:44 GMT
|
Re: Canonical Url and DotNetNuke
This solution requires me to go to each page setting and set the header. I came up with slight code modification in code. checkout blog.vishalon.net/index.php/how-to-enable-canonical-url-for-seo-in-dotnetnuke-5-x/ It also deals with google anlaytics code for correctly tracking the page.
By Vishal Monpara on
Fri, 25 Sep 2009 20:53:16 GMT
|
|