Removing nofollow from existing links

I am running 2.3.5-dirty. I recently added a new domain to my exclude from nofollow links.

image

any NEW link that is created with that domain works as expected however any EXISTING link still shows as nofollow.

What am I missing?

1 Like

The change is not reflected in old posts because they have already been baked. What you need to do is rebake old posts in order for the change to take take effect.

You’ll need to SSH into your server and run the following commands

cd /var/discourse
./launcher enter app
rake posts:rebake_match["NEW_DOMAIN.COM"]

Swap NEW_DOMAIN.COM with the domain you added to the setting. For example

rake posts:rebake_match["seaeagle.com"]

This indicates that you didn’t follow the official installation guide when you set your site up. I would recommend that you do that if you want to avoid headaches down the line.

11 Likes

The rebake worked great. I will be sure to update the install soon.

1 Like

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