Powered by Blogger.

Canonical tag in CFM page

 


If you want to do canonical tag in ColdFusion OR "CFM" site then its a simple way to do that by follow below instructions:

Copy below code and place in header section of template.


<cfoutput>
<cfif  ParameterExists(LinkRelCanonical)>
<link rel="canonical" href="#LinkRelCanonical#" /></cfif>
</cfoutput>



And put this code in index page or respective page.

<cfset LinkRelCanonical = "Site Urls">


Replace "Site Urls" with your website page url.

No comments