Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google marks remark iframe urls as duplicate content #1683

Open
meinto opened this issue Oct 14, 2023 · 2 comments
Open

Google marks remark iframe urls as duplicate content #1683

meinto opened this issue Oct 14, 2023 · 2 comments

Comments

@meinto
Copy link

meinto commented Oct 14, 2023

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

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

@akellbl4
Copy link
Collaborator

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

@meinto
Copy link
Author

meinto commented Nov 28, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants