Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


How to add canonical link tag in robohelp topics

New Here ,
Oct 12, 2020 Oct 12, 2020

Copy link to clipboard

Copied

Version: RoboHelp 2019
Output: Responsive HTML5

 

Hello - I'm looking for some guidance on how to add a canonical link/url tag into robohelp topics. We publish our help to several production platforms and Google search finds all the duplicate help files. In an effort to optimize search results, we want to insert a canonical url tag into the header section of each help topic to tell google that there may be multiple copies of the same file, and then add the full url/path to one platform as the primary version. 

 

Does anyone have experience with this that you can share?  Is there a way to define the platform base URL in one place and then use it in all topics automatically? 

Views

78

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Oct 12, 2020 Oct 12, 2020

Copy link to clipboard

Copied

I don't have any experience with canonical URLs, but if I want to include a javascript in all topics I add it in the master page header section (don't confuse this with the html head section). That would be the first place I'd investigate.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Oct 12, 2020 Oct 12, 2020

Copy link to clipboard

Copied

Or. There's "Generate XML Sitemap" in the output settings, which perhaps is what you need? It mentions a Base URL, at any rate. (I was looking for something else and stumbled across it.)

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 15, 2020 Oct 15, 2020

Copy link to clipboard

Copied

Thank you, Amebr, for the replies. We do generate sitemaps with the Base URL but not sure that's unrelated to the canonical tag. 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 15, 2020 Oct 15, 2020

Copy link to clipboard

Copied

that should read "not sure that's related to the canonical tag"

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Oct 15, 2020 Oct 15, 2020

Copy link to clipboard

Copied

LATEST

Yeah not sure myself, but I came across it shortly after reading this post, so thought I'd mention it in case it helped. 🙂

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation