# 既存リンクのnofollow属性を削除する

**URL:** https://meta.discourse.org/t/removing-nofollow-from-existing-links/137692
**Category:** Support
**Created:** [2020 年 1 月 3 日午後 8:06 UTC](https://meta.discourse.org/t/removing-nofollow-from-existing-links/137692 "2020-01-03T20:06:30Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![bvdrie72](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bvdrie72/32/158775_2.png) [@bvdrie72](https://meta.discourse.org/u/bvdrie72)
#### Post date: [2020 年 1 月 3 日午後 8:06 UTC](https://meta.discourse.org/t/removing-nofollow-from-existing-links/137692/1 "2020-01-03T20:06:30Z")

</div>

2.3.5-dirty を実行しています。最近、nofollow リンクから除外するドメインを新たに追加しました。

 ![image](https://global.discourse-cdn.com/meta/original/3X/6/1/61da15043478d527b624a9c97c7bccfb27c3cdb5.png)

そのドメインを含む新しく作成されたリンクは期待通りに機能しますが、既存のリンクは引き続き nofollow として表示されます。

> **[First kayak for an apartment-dweller (probably folding or inflatable)?](https://forums.paddling.com/t/first-kayak-for-an-apartment-dweller-probably-folding-or-inflatable/70889/16)**
>
> Glad I read about the Pakboats! I had the Puffin 12’ and it was a good kayak. Do you think the Quest 15’ would handle someone my size at 6-2/218lbs? Thanks

何が不足しているのでしょうか？

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [2020 年 1 月 3 日午後 8:21 UTC](https://meta.discourse.org/t/removing-nofollow-from-existing-links/137692/2 "2020-01-03T20:21:10Z")

</div>

変更は既存の投稿には反映されません。すでにレンダリング済みのためです。変更を有効にするには、既存の投稿を再レンダリングする必要があります。

サーバーに SSH で接続し、以下のコマンドを実行してください。

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

```

`NEW_DOMAIN.COM` は、設定に追加したドメインに置き換えてください。例を以下に示します。

```plaintext
rake posts:rebake_match["seaeagle.com"]

```

> [@bvdrie72](#):
>
> 2.3.5-dirty

これは、サイト設定時に[公式インストールガイド](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md)に従わなかったことを示しています。将来的なトラブルを避けるためにも、ガイドに従うことをお勧めします。

---

<div class="post-metadata">

### Author: ![bvdrie72](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bvdrie72/32/158775_2.png) [@bvdrie72](https://meta.discourse.org/u/bvdrie72)
#### Post date: [2020 年 1 月 6 日午後 4:44 UTC](https://meta.discourse.org/t/removing-nofollow-from-existing-links/137692/3 "2020-01-06T16:44:58Z")

</div>

リビルドは非常にうまくいきました。すぐにインストールを更新する予定です。

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2020 年 2 月 5 日午後 4:44 UTC](https://meta.discourse.org/t/removing-nofollow-from-existing-links/137692/4 "2020-02-05T16:44:59Z")

</div>

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