remark42 icon indicating copy to clipboard operation
remark42 copied to clipboard

Google marks remark iframe urls as duplicate content

Open meinto opened this issue 1 year ago • 2 comments

Can we add an option to the frontend configuration to set a canonical link?

https://remark42.com/docs/configuration/frontend/

meinto avatar Oct 14 '23 15:10 meinto

@meinto hey, could you please provide a bit more content about the problem?

akellbl4 avatar Nov 25 '23 08:11 akellbl4

Hi @akellbl4

I took a closer look at the problem. It probably only happens on pages that don't have any comments yet. In this case the /web/iframe.html looks the same on different websites. This results in duplicate content, because the same .html file appears on different pages. In my opinion, the solution would be to define a canonical URL for the Remark42 pages. This would signal to the search engines that your own page is the correct URL. In general, you don't actually want the iFrame URLs to be indexed, but only the pages on which the iFrame is integrated.

meinto avatar Nov 28 '23 13:11 meinto