Google Search Indexing and Discourse

Dear @kirupa,

You are welcome.

FYI.

Discourse forums already add the canonical tag to topics.

Here is a link from your forum, and the source showing it for one of your examples (above):

Screen Shot 2020-06-09 at 1.48.45 PM

You can see that your discourse page already has a canonical tag.

One “trick” (unsupported but doable) is to add that same tag at your “old forums” (pointing to the new forums) or to at least make sure your old forums do not have a canonical tag.

However, to be honest, to get the correct topic id for the discourse forums in the database of your old forums requires some work (we did it for other reasons, so I know from our own experience it is doable because we use this info in both forums, presently).

There is a post custom fields database table in discourse which contains the mapping from your old forum (topic and post ids); and you could (if you wanted) dump that data from discourse and add that data to your old forums.

Then you could (if you wanted to, I am not recommending one way or the other) easily create a canonical tag in your old forums which point to your new discourse forums, if you so desire (based on your SEO and how you wish to approach this).

Some people prefer to 301 redirect the old forum pages. That’s all up to you and how you want to manage things! Keep in mind, if you want to 301 redirect, you will also need the mappings between the discourse topic (and post) ids and your old forum topic and post ids.

Hope this quick follow up helps @kirupa.

Best wishes and enjoy!