Title: Custom URL Replacer
Author: Hyperspective
Published: <strong>2025年4月2日</strong>
Last modified: 2025年4月2日

---

プラグインを検索

このプラグインは **WordPress の最新3回のメジャーリリースに対してテストされていま
せん**。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress
で使用した場合は互換性の問題が発生する可能性があります。

![](https://ps.w.org/custom-url-replacer/assets/icon-256x256.png?rev=3265929)

# Custom URL Replacer

 作者: [Hyperspective](https://profiles.wordpress.org/hyperspective/)

[ダウンロード](https://downloads.wordpress.org/plugin/custom-url-replacer.1.0.1.zip)

 * [詳細](https://ja.wordpress.org/plugins/custom-url-replacer/#description)
 * [レビュー](https://ja.wordpress.org/plugins/custom-url-replacer/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/custom-url-replacer/#installation)
 * [開発](https://ja.wordpress.org/plugins/custom-url-replacer/#developers)

 [サポート](https://wordpress.org/support/plugin/custom-url-replacer/)

## 説明

Custom URL Replacer scans your post content for anchor tags where the visible text
exactly matches the full URL. If the URL is external to your site, it replaces the
text with a custom string. Additionally, if the “Open in New Tab” setting is enabled,
the plugin forces all external links to open in a new tab by adding target=”_blank”
and rel=”noopener noreferrer” automatically. A settings page is provided under the
Tools menu so you can customize the replacement text and toggle the new tab option.

## スクリーンショット

[[

[[

[[

## インストール

 1. Upload the plugin files to the `/wp-content/plugins/custom-url-replacer` directory,
    or install the plugin through the WordPress plugins screen by uploading the ZIP
    file.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Configure the plugin settings by navigating to Tools  Custom URL Replacer.
 4. The plugin will automatically process your post content and update anchor texts
    that exactly match external URLs, and optionally update all external links to open
    in a new tab.

## FAQ

### How does Custom URL Replacer work?

It scans post content for anchor tags. If an anchor’s text exactly matches its href(
and that URL is external), the plugin replaces the text with a custom string. When
the “Open in New Tab” option is enabled, all external links will have target=”_blank”
and rel=”noopener noreferrer” added automatically if not already set.

### How can I change the replacement text?

Go to Tools  Custom URL Replacer in your WordPress admin area and update the “Replacement
Text” field.

### Can I force all external links to open in a new tab?

Yes. When the “Open in New Tab” option is enabled, all external links in your post
content will be modified to include target=”_blank” and rel=”noopener noreferrer”.

## 評価

このプラグインにはレビューがありません。

## 貢献者と開発者

Custom URL Replacer はオープンソースソフトウェアです。以下の人々がこのプラグイン
に貢献しています。

貢献者

 *   [ Hyperspective ](https://profiles.wordpress.org/hyperspective/)

[“Custom URL Replacer” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/custom-url-replacer)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/custom-url-replacer/)する
か、[SVN リポジトリ](https://plugins.svn.wordpress.org/custom-url-replacer/)をチェック
するか、[開発ログ](https://plugins.trac.wordpress.org/log/custom-url-replacer/)を
[RSS](https://plugins.trac.wordpress.org/log/custom-url-replacer/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

#### 1.0.1

 * Added a sanitization callback for register_setting() to ensure all settings are
   properly sanitized.
 * Replaced parse_url() with wp_parse_url() for better compatibility.
 * Updated functions, options, and admin page elements to use the unique prefix “
   currep_”.
 * Improved nonce verification and data sanitization.
 * Added functionality to force all external links to open in a new tab when the
   setting is enabled.
 * General code improvements for enhanced security and compatibility.

## メタ

 *  バージョン **1.0.1**
 *  最終更新日 **2年前**
 *  有効インストール数 **10未満**
 *  WordPress バージョン ** 5.0またはそれ以降 **
 *  検証済み最新バージョン: **6.7.11**
 *  言語
 * [English (US)](https://wordpress.org/plugins/custom-url-replacer/)
 * タグ
 * [content](https://ja.wordpress.org/plugins/tags/content/)[external](https://ja.wordpress.org/plugins/tags/external/)
   [links](https://ja.wordpress.org/plugins/tags/links/)[replacement](https://ja.wordpress.org/plugins/tags/replacement/)
   [url](https://ja.wordpress.org/plugins/tags/url/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/custom-url-replacer/advanced/)

## 評価

レビューはまだ送信されていません。

[Your review](https://wordpress.org/support/plugin/custom-url-replacer/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/custom-url-replacer/reviews/)

## 貢献者

 *   [ Hyperspective ](https://profiles.wordpress.org/hyperspective/)

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/custom-url-replacer/)