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 ...Page Header Tags for SEOPage Header Tags for SEO
New Post
12/31/2014 5:51 PM

Can anyone help me? I'm using the following in my page header tags for each page but was wondering if I only need the domain name or do I need to include the page name in the ref:

<link rel="canonical" href="" />


<link rel="canonical" href="" />

carrying that out further I would want to change the ref for each <link rel="canonical" href="" /> etc.

Should I include the .aspx in the ref or just leave it with the friendly url?

I've added definitions for each of my pages for friendly urls.

.*/TabId/(\d+)(.*)/  =  ~/ContactUs.aspx$1 which is allowing my site to come up if I enter as the url without the .aspx.

New Post
1/1/2015 5:15 PM
Advanced URLs in DNN 7.1.0 and later do not use .aspx by default and will handle all the redirect for you.
Make sure to enable it in web.config by replacing "humanfriendly" with "advanced"

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

Speed up your DNN Websites with TurboDNN
New Post
1/1/2015 7:53 PM

Thank you! I'll give it a shot.

New Post
1/1/2015 8:21 PM

I found the following in my web.config concerning friendlyUrl's...what exactly do I change to "advanced"??? Just a bit confused.

<section name="friendlyUrl" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />

<friendlyUrl defaultProvider="DNNFriendlyUrl">

        <clear />
        <add name="DNNFriendlyUrl" type="DotNetNuke.Services.Url.FriendlyUrl.DNNFriendlyUrlProvider, DotNetNuke.HttpModules" includePageName="true" regexMatch="[^a-zA-Z0-9 _-]" urlFormat="" />

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Page Header Tags for SEOPage Header Tags for SEO

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?