Posts in WP Discourse interferes with the SEO of the Wordpress site

Hello everyone.
I ran into a problem.
When my posts from a Wordpress blog are imported to Discourse, they are visible to search robots.

My posts are imported into the “News” category

I was thinking about adding the “News” category to the file robots.txt, but the category url does not spell out the word “News”
For example:
URL category “News”: https://example.com/c/news/5
URL post in category "News: https://example.com/t/conditional-formatting/244
I’m thinking to add a category to robots.txt, but the URL should look like this: https://example.com/news/conditional-formatting/244
Please tell me how I can do this?

Perhaps there are other options to hide posts from WP Discourse from indexing. Any ideas?
Please help to solve this problem

1 Like

There is nothing to solve out. It is not affecting your SEO anyway because of canonical URLs. It is actually someway improving your SEO (if users are commenting or reacting, and if Google thinks so).

4 Likes

@Jagster Thank you very much for your reply.
I didn’t even know what canonical links were. It’s good that Discourse can do this

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.