Products » Support Forums 

Support Forums

HomeHomeDotNetNuke Modu...DotNetNuke Modu...Canonical Linke...Canonical Linke...extending for custom modulesextending for custom modules
Previous
 
Next
New Post
5/15/2010 8:56 PM
 

Bruce,

How does one overide the URLs used by Canonical Link with those from a module? I see it "allow[s] for integration with other DotNetNuke modules" but I can't find the documentation.

Lance

 
New Post
5/16/2010 12:19 PM
 

Hi Lance- you generally use the settings to choose which type of Url you'd like to use - whether from the Page, or from the querystring constructed with the module. There's no programatic way of generating the Url, it works from the requested Url.

Probably a better question : what is the Url that it's not working for, and what settings have you tried?

 
New Post
5/16/2010 5:24 PM
 

The only setting that is valid for my needs is querystring. My problem is the case sensitively of Google and the case insensitivity of IIS. I tried all lower case for a while before I realised the camel cap forms had far better links.


I have URL master creating links for Ventrian and they seem to be reflected in the canonical link. Is the answer for my custom module to create a replace rule in URL master instead of in the application? I’d prefer some way to pass the rule along versus change the code.

 
New Post
5/16/2010 7:50 PM
 

I just realised what is happening... Ventrian News Articles is adding the canonical tag. I have URL Master making shorter URLs for VNA: /TabName/Article-651/Name-Of-Artilce.aspx with the help of replace and redirect rules. VNA is probably adding the normal URLs and then URL master is replacing it with my format. However, when I enable Linker, it creates another canonical tag but with only /TabName.aspx and none of the details of the article. Not good, especially since this comes after the VNA tag.

... this leaves me back at square one.

I need a way to exclude paths from the Linker so the VNA tag remains the sole item. Then I can follow the same format as VNA for my custom modules and Linker can just take care of the DNN Tabs.

That is unless you can see a way to extend Linker like you extended the Google sitemap.

 
New Post
5/18/2010 3:21 AM
 

What setting do you have on the canonical linker? You should have it on 'Page Url with requested Querystring'. This setting takes the rewritten url, and runs it back through the configured friendly url provider, which in turn generates the canonical link. By doing it this way you should end up with the same Url as the custom rewriting/friendly url setup.

You might also have to look through the News Articles settings and remove the option to generate a canonical link.

 
Previous
 
Next
HomeHomeDotNetNuke Modu...DotNetNuke Modu...Canonical Linke...Canonical Linke...extending for custom modulesextending for custom modules


Support Guidelines.. Please read before posting

To get support on iFinity products and services, please search the forums for the the answer to the problem you are seeking. If you cannot find a solution, post a question in the relevant forum.   Ensure that you specify the relevant versions of the problem, and the actual error message or a detailed description of the problem.    You will need to register with this site to post on the forum.  If you have a Microsoft Live (Hotmail/Passport) account you can use that.  If you have a Open Id account you can use that.  If you neither of these, you will need to register a user Id and password.