# リダイレクトがある場合にリンク化を防ぐ

**URL:** https://meta.discourse.org/t/prevent-to-linkify-when-there-is-a-redirect/226964
**Category:** Feature
**Created:** [2022 年 5 月 13 日午後 4:06 UTC](https://meta.discourse.org/t/prevent-to-linkify-when-there-is-a-redirect/226964 "2022-05-13T16:06:43Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2022 年 5 月 16 日午前 2:27 UTC](https://meta.discourse.org/t/prevent-to-linkify-when-there-is-a-redirect/226964/2 "2022-05-16T02:27:01Z")

</div>

> [@Jonathan\_Poyer](#):
>
> URLを事前にテストし、リダイレクトが発生した場合にURLにタイトルを付けないようにする既存の機能またはコンポーネント/プラグインはすでにありますか？

はい、ここでの一般的な解決策は、「ブロックされたワンボックスドメイン」サイト設定を使用することです。

すべての内部「ログインが必要」なURLをそのリストに追加します。

@nat/@codinghorror、ここでハンマー設定を追加すべきかどうか疑問に思います。

`リダイレクト時にワンボックスをブロックする` - この設定は、リダイレクトが関与した場合にワンボックスを完全にブロックできます。これにより、複数のドメインにわたってこの動作を無条件に制御するための非常に簡単なレバーが提供されます。

---

_[View the full topic](https://meta.discourse.org/t/prevent-to-linkify-when-there-is-a-redirect/226964)._
