2024年1月31日 Recordamu

WordPressログインURLを変更する方法

WordPressログインURLを変更する方法

なぜログインURLを変更するのか?

WordPressのログインURLをデフォルトの/wp-admin/wp-login.phpから変更することで、セキュリティを強化し、不正アクセスを防止できます。

方法1: プラグインを使用

おすすめプラグイン: WPS Hide Login

  1. インストール: WordPressの管理画面から「プラグイン」→「新規追加」で「WPS Hide Login」を検索し、インストール・有効化。
  2. 設定: 「設定」→「一般」から新しいログインURLを設定。

方法2: .htaccessを使用

  1. .htaccessファイルを編集: 以下のコードを追加。
    RewriteRule ^新しいログインURL/?$ /wp-login.php [QSA,L]

注意点

  • バックアップ: 変更前に必ずサイトのバックアップを取る。
  • ブックマーク更新: 新しいURLをブックマークに追加。

まとめ

ログインURLの変更は、WordPressサイトのセキュリティを向上させる効果的な手段です。プラグインを使用する方法が簡単で推奨されますが、.htaccessを編集する方法もあります。いずれの場合も、変更後は新しいURLを必ず記録しておきましょう。

,
Contact

contact

We welcome you to contact us for more information about any of our services.

お気軽にお問い合わせください。

Create a web

We can provide a wide range of services from web direction / design / coding / WP integration / numerical analysis. Please feel free to contact us for an initial consultation.

Webディレクション/デザイン/コーディング/WP構築/数値解析まで、幅広く対応いたします。お気軽にご相談ください。

Japan information

We can help you do business for Japan.
Japan has its own rules and regulations, and the Japanese are sensitive to them.
We can help you with content (translation, sales, etc.) that takes into account communication that will work in Japan.

日本向けのビジネスのお手伝いをします。日本で通用するコミュニケーションを考慮した施策(翻訳や営業など)をご提供します。

Use our services

If you would like to use this service, please contact us. We also looking for people to collaborate and extend our services. Please feel free to contact us.

サービスの利用に関して、弊社までご連絡ください。また、コラボレーションしてサービスを拡張してくださる方も募集しています。

Contact