Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPBカップ
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

WordPressサイトでユーザー登録を許可する方法

WordPressサイトにユーザー登録を許可したいですか?

WordPressでユーザー登録を有効化することで、ユーザーが投稿日やコメントするなどのアクションをサイト上で行えるようになります。

この投稿では、WordPressサイトで簡単にユーザー登録を許可する方法と、ユーザーを管理する方法を紹介します。

Allowing user registration in WordPress

なぜWordPressでユーザー登録を許可するのか?

WordPressサイトにユーザー登録フォームを追加することで、ユーザー同士が交流し、あなたのブランドを中心としたコミュニティを構築することもできます。

さらに、投稿、コメント、画像、動画など、ユーザーが作成したコンテンツをWordPressブログで受け入れて投稿することもできます。

オンラインショップを運営しているのであれば、サイトに登録しているカスタマイザーに限定コンテンツや割引オファーを提供することで、エンゲージメントを高めることができます。

これは、ユーザーエンゲージメントを向上させ、ロイヤリティを高め、さらには登録プロセス中にメールアドレスを収集させることで、メールリストの作成にも役立ちます。

ということで、WordPressで簡単にユーザー登録を許可する方法を見てみましょう。

以下は、このチュートリアルで扱うトピックのリストです。下のクイックリンクから各セクションに飛ぶことができます:

注意: このガイドでは、WordPressサイトに初期設定のユーザー権限グループでユーザーを追加することに焦点を当てています。もし、プレミアムコンテンツやコミュニティへのアクセスをユーザーに有料で提供することで、オンラインでお金を稼ぎたいのであれば、WordPress会員制サイトを作成する究極のガイドをご覧ください。

WordPressでユーザー登録を有効化する

WordPressにはユーザー登録を管理する機能がビルトインされています。初期設定ではオフになっていますが、簡単にオンにすることができます。

これを行うには、WordPress管理エリアの設定 ” 一般ページに移動するだけです。

ここから「メンバーシップ」セクションまでスクロールダウンし、「誰でも登録できるオプション設定の隣にあるボックスにチェックを入れる。

Open user registration in WordPress

次に、初期ユーザー権限を設定します。これは、WordPressサイトに新規登録する各ユーザーに割り当てられる権限グループです。

WordPress の各ユーザー権限グループには、独自の権限と機能があります。WordPress のユーザー権限グループについて詳しくは、WordPress のユーザー権限ガイドをご覧ください。

初期設定のユーザー権限は「購読者」であり、利用可能な他のユーザー権限に変更することができます。

例えば、ユーザーに投稿日: を書いてもらいたい場合、初期ユーザー権限設定を寄稿者または投稿者に変更することができます。

重要:ユーザー登録の初期設定に’管理者’を使用しないでください。

変更を保存」ボタンをクリックして、設定を保存することを忘れないでください。

これでWordPressサイトがユーザー登録できるようになりました。WordPressのログインページにアクセスすると、新規ユーザー登録のオプションが表示されます。

Register for new account

ユーザー登録のためにサイトをオープンした後、ユーザーにサインアップしてアカウントにログインできることを知らせたいでしょう。

それには複数の方法がある。

WordPressのサイドバーにログインや登録ページへのリンクを追加したり、サイト用にカスタムログインや登録ページを作成することができます。

3つの方法を紹介するので、自分のニーズに合った方法を選んでほしい。

方法1:WordPressサイドバーにメタ情報を追加する

ログインリンクを追加する最も簡単な方法は、サイドバーにメタ情報を追加することです。

外観 ” ウィジェットページに行き、サイドバーに’メタ情報’ウィジェットを追加するだけです。WordPressでウィジェットを追加して使用する方法については、こちらのガイドをご覧ください。

Add meta widget to your WordPress sidebar

メタ情報には、登録、ログイン/ログアウト、RSSフィード、コメントフィード、WordPress.orgサイトへのリンクが含まれています。

私たちのサイト例ではこのように表示されます:

Meta widget preview

ブロックテーマを使用している場合、外観 ” ウィジェットオプションは 使用できないことを覚えておいてください。その場合は、2か3の方法をご利用ください。

方法2: WPFormsを使ったカスタムログインページの作成

最初の方法の問題点は、登録フォームやログインフォームをカスタマイズする方法がないことです。フォームフィールドを追加したり、フォームのデザインを変更したりすることができないので、サイトのデザインと一致しません。

独自のカスタムログインページを使用することで、より優れたユーザーエクスペリエンスを提供することができます。サイトのどのページにもフォームを埋め込むことができ、フォームフィールドを追加して必要な情報を収集することができます。

カスタムログインページを作成する様々な方法を紹介します。最も簡単なのはWPFormsプラグインを使う方法です。

ユーザー登録アドオンが付属している市場で最高のWordPressお問い合わせフォームプラグインです。ログインフォームや登録フォームをサイト上のどこにでも簡単に追加、カスタマイズすることができます。

WPForms Site

まず、WPFormsプラグインをインストールして有効化する必要があります。詳細については、WordPressプラグインのインストール方法のステップバイステップガイドを参照してください。

注:WPFormsには無料版もあります。ただし、ユーザー登録アドオンにアクセスするには少なくともプラグインのProライセンスが必要です。

有効化した後、WPForms ” 設定ページにアクセスし、ライセンスキーを入力してください。

この情報はWPFormsサイトのアカウントから確認できます。

WPForms license key

検証後、WordPressダッシュボードからWPForms ” Addonsページに移動します。

ここで、「ユーザー登録アドオン」までスクロールダウンし、その横にある「アドオンのインストール」ボタンをクリックします。

User registration addon

WPFormsはアドオンをインストールし、’有効化’ボタンをクリックして使用を開始する必要があります。

これでWPFormsを使ってカスタマイザーの登録フォームやログインフォームを作成する準備が整いました。

カスタマイザー登録フォームの作成

WPForms ” 新規追加のページにアクセスするだけで、WPFormsフォームビルダーが起動します。

まず、フォーム名を入力し、「テンプレートの選択」セクションでユーザー登録テンプレートを検索する必要があります。

Select user registration template

WPFormsはあなたのためにシンプルなWordPressユーザー登録フォームを作成します。

左パネルから新規フィールドを追加したり、シンプルなドラッグ&ドロップインターフェースを使用して既存フィールドの順序をカスタマイズできるようになりました。

Edit user registration form

フィールドの追加が終わったら、左側の「設定」メニューをクリックしてください。

次に「ユーザー登録」タブを選択します。

Map form fields

ここでは、各フォームフィールドをユーザープロフィールの情報にマッピングし、ユーザー権限グループを選択し、通知を有効にし、確認ページを選択し、ユーザー有効化を有効にすることができます。

ユーザー有効化機能はWordPressのスパムユーザー登録を減らすのに役立ちます。

手動の方法を選択した場合、すべてのユーザーはサイトにログインする前に管理者によって承認される必要があります。

user activation options

メール方式を選択した場合、ユーザーはサイトにログインする前に有効化リンクをクリックする必要があります。

フォームフィールドを追加するだけでなく、他のWPFormsアドオンとフォームを接続することもできます。

例えば、メールマーケティングサービスプロバイダーと接続し、新規ユーザーを自動的にメールリストに追加することができます。同様に、WPFormsをPayPalやStripeなどの決済サービスに接続してオンライン決済を受け取ることもできます。

設定が終わったら、画面右上の「保存」ボタンをクリックしてフォームの設定を保存してください。閉じる’ボタンをクリックしてフォームビルダーを終了することができます。

ユーザー登録フォームを WordPress サイトに追加する準備ができました。

登録ページとして使用したいWordPressページを新規作成するか、既存のページを編集するだけです。

ページ編集画面で、コンテンツエリアにWPFormsブロックを追加する必要があります。

Add WPForms block

WPFormsブロックからドロップダウンメニューをクリックし、先ほど作成した’ユーザー登録フォーム’を選択するだけです。

ページを保存または公開して、カスタマイザーのユーザー登録ページを見ることができます。

User registration page preview

カスタムログインフォームの作成

カスタムユーザー登録ページが有効化された今、WPFormsを使用してサイトのカスタムログインフォームを作成することもできます。

始めるには、WPForms ” Add New画面にアクセスします。これでWPFormsのフォームビルダーのインターフェースが起動します。

カスタムログインフォームの名前を指定し、テンプレートとして’ユーザーログインフォーム’を選択する必要があります。

Login form template

WPFormsは新しいログインフォームを作成します。

初期設定では、ユーザー名とパスワードのフィールドしかありません。

Edit login form

しかし、左のパネルからドラッグすることで、フォームにフィールドを追加することもできます。

次に、「設定」タブをクリックし、「確認」タブをクリックします。ここで、ログイン成功後の動作を定義することができます。

ユーザーにメッセージを表示したり、元のページにリダイレクトさせたり、サイト内の他のページにリダイレクトさせたりすることができます。

Login form confirmation

画面右上の「保存」ボタンをクリックし、フォームの設定を保存します。閉じる」ボタンをクリックして、フォームビルダーのインターフェースを終了することができます。

カスタムログインフォームを WordPress サイトに追加する準備ができました。

新規ページを作成し、コンテンツエリアにWPFormsブロックを追加することで、カスタムログインフォームをページに追加することができます。

Adding login form to a page

カスタムログインフォームをサイドバーに追加することもできます。

外観 ” ウィジェットページに移動し、WPFormsブロックまたはレガシーウィジェットをサイドバーに追加するだけです。

Add login form to your sidebar

ドロップダウンメニューから作成したカスタムログインフォームを選択し、「更新」ボタンをクリックしてウィジェットの設定を保存します。

これであなたのサイトにアクセスしてカスタムログインフォームの動作を確認することができます。

Login form preview

このトピックについては、WordPressのカスタムログインページの作成方法をご覧ください。

方法3: SeedProdを使用してカスタムログインページを作成する。

WPFormsだけでカスタムログインページを作成する場合、ログインページのデザインはWordPressのテーマに依存します。

もっとプロフェッショナルで洗練されたカスタマイザー・ログインページをデザインしたいとしたら?

SeedProdでは、サイト用の美しいカスタムログインページを簡単に作成することができます。

市場で最も強力なWordPressページビルダー です。コードを書いたり、特別なデザインスキルを学んだりすることなく、あらゆるタイプのページを作成することができます。

まず、SeedProdプラグインをインストールして有効化する必要があります。詳しくは、WordPressプラグインのインストール方法のステップバイステップガイドをご覧ください。

有効化すると、ライセンスキーの入力が求められます。この情報は、SeedProdサイトのアカウントで確認できます。

Enter your SeedProd license key

次に、WordPressの管理サイドバーからSeedProd ” ランディングページの画面にアクセスします。

ログインページが表示されたら、’Set up a Login Page’ボタンをクリックします。

Set up a login page

次に、ログインページのテンプレートを選択するよう求められます。

SeedProdには、プロがデザインしたテンプレートがいくつか用意されています。

Choose login page template

その後、カスタムログインページの名前とURLを入力します。

その後、「保存して編集を開始する」ボタンをクリックして続行します。

Login page settings

これで画面上にSeedProdのページビルダーインターフェースが起動します。

ここでは、ログインページのライブプレビューが表示され、ポイント&クリックで項目を編集することができます。

Editing your login page in SeedProd

左カラムからログインページに新しいブロックを追加することもできます。

デザインに満足したら、「ページ設定」タブに切り替えます。

Login page configuration

ここから、ユーザーを初期設定のWordPressログインページからカスタマイザーログインページにリダイレクトすることができます。また、WordPressのヘッダーやフッタースクリプトの読み込みを無効化する、分離モードでログインページを実行することもできます。

変更内容に満足したら、「保存」ボタンをクリックし、ログインページを「公開」します。

Publish your custom login page

インコグニートモードで新しいブラウザータブを開き、ログインページにアクセスすると、その動作を確認することができます。

詳しくは、WordPressでカスタムログインページを作成する究極のガイドをご覧ください。

SeedProd login page preview

ボーナス:WordPressでユーザーを管理する

WordPress管理ダッシュボードの「ユーザー」メニュータブをクリックすると、サイトに登録されているすべてのユーザーを表示できます。

WordPressは、ユーザー名、名前、権限グループ、メールアドレスを含むユーザーのリストを表示します。

Managing users in WordPress

管理者として、いつでもユーザーを削除することができます。

また、ユーザープロフィールの編集、権限グループの変更、パスワードの変更も可能です。これにより、ユーザーがWordPressサイトでできること、できないことを完全にコントロールすることができます。

詳しくは、WordPressのユーザー権限グループに機能を追加または削除する方法についての初心者ガイドをご覧ください。

WordPress サイトでユーザー登録を許可する方法について、この投稿がお役に立てれば幸いです。また、ベストなウェブデザインソフトウェアの選び方や、WordPress のエキスパートが選ぶベスト FAQ プラグインもご覧ください。

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

情報開示 私たちのコンテンツは読者支援型です。これは、あなたが私たちのリンクの一部をクリックした場合、私たちはコミッションを得ることができることを意味します。 WPBeginnerの資金源 をご覧ください。3$編集プロセスをご覧ください。

アバター

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

究極のWordPressツールキット

ツールキットへの無料アクセス - すべてのプロフェッショナルが持つべきWordPress関連製品とリソースのコレクション!

Reader Interactions

123件のコメント返信を残す

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Mrteesurez says

    Weldone,
    If I use Seedprod for the login page, I think I will still need WPForms as the Seedprod plugin is just to design the interface while the real functionalities if the form will be controlled by WPForms.
    Am I right ?

    • WPBeginner Support says

      No, you would only need one of those two plugins to have a working custom registration page.

      管理者

      • Mrteesurez says

        Wow, do you mean Seedprod as page builder can do it alone ?. I thought it’s only for design purpose and just for layout.
        Ok thanks for the reply.

  3. Anna says

    This is awesome – thank you!
    Newbie here and I would like to create one registration form for users and that would allow them to be registered in several plugins, so they don’t have to register multiple times for each plugin. What is the best way as Admin to accomplish this?

  4. Robert Whyte says

    I want to email readers when I post new on my personal blog.
    How do I trigger an automatic email when a post is new or modified (assuming I don’t check the ‘don’t change the modified date’), preferably with a link to the post?
    Also, can I send an email on general subject without posting?

  5. Peter Van Kleeck says

    There is no “anyone can register” in my Admin panel under General > Settings. In fact there is no “Membership” section at all. What am I missing?

  6. John says

    Is there a way to have login access required to access a specific page or set of pages and not the entire site?

  7. Brandon says

    Hi, I’ just started using WordPress 3 days ago to start developing my e-commerce website but my general setting doesn’t include the membership option to enable users to register on my website nor the option to choose the new user default role. I’m wondering if it’s because I’m using the multi-site network. Please help me out I’m lost.

    • WPBeginner Support says

      If you are using multisite then you would need to go to your network admin site and allow registrations in the settings for that site to allow your subsites to accept registrations.

      管理者

  8. Esme says

    Hi there,

    There is no ‘Membership’ section in my WP Settings. Have these settings been moved since this article was written?

  9. Norma says

    Hello. What if you don’t want people to register on your website, but rather you assign a username and password and then they just go on to log in? Can that be done?

  10. Karen says

    My son runs the school newspaper and wants to set up an online version. The IT staff at his school want to set up a WordPress site and his head teacher wants to limit the people who can view the paper to pupils only. Is the best way to do this by setting up usernames and passwords as per this article (and only allowing subscribers with a school email address) or is there a better way?

    • WPBeginner Support says

      It would be personal preference question on what would be the best method but you can certainly do it that way for one option to limit access.

      管理者

  11. Mohammad Ashraf Patel says

    Hi, I want to force ‘number only’ in username field in new user registration. This is to force the user to enter his mobile number as his username.

    Does WPFORMS new user registration have this facility/function?

    • WPBeginner Support says

      You would need to use an input mask for what you’re wanting and WPForms would be able to do what you’re wanting.

      管理者

  12. David Barker says

    This tutorial was extremely clear and helpful!

    I followed the tutorial for creating a Login WPForms widget. One problem I had was that after the user logged in, they could still see the widget. After a user registers on the User Registration page, then logs in, they can still see the User Registration page. Is there a way to hide pages from users that are logged in?

    • WPBeginner Support says

      We do not have a specific recommendation at the moment, we will be sure to keep an eye out for a plugin we would recommend.

      管理者

  13. Louise Harris says

    I work on a WooCommerce site and about 5 or 6 of us in the office use the same admin user account.

    We quite often get server errors, 503 I think.

    Is this because we’re all using the same user account at the same time?

    Thanks!

    • WPBeginner Support says

      You would want to try having a user for each person if possible to see if that is the issue.

      管理者

  14. Keren Shavit says

    I use Woocommerce website. If I uncheck “anyone can register”, will people still be able to create an account and buy? people who have purchased show up as “customers” and people who register show up as “subscribers”.

    • WPBeginner Support says

      Rather than that, you may want to go under Settings>General and set the default user role to customer. That way any user who signs up to your site by default is a customer :)

      管理者

  15. Dee says

    Hi,
    Is there any way by which the user automatically gets added to subscription list when he posts a comment on any post with their email id?

    • WPBeginner Support says

      You are required to make that an option rather than automatic to comply with laws like GDPR

      管理者

  16. Lucho says

    Hi, just something I am doing some research and didnt find any solution yet. Many plugins offers the ADMIN APPROVAL feature for new users registration. Is there a way to allow EDITORs to approve? The reason why is to keep the admin profile to the developers, no one else.

    Thanks in advande!
    Best,
    Lucho.-

    • WPBeginner Support says

      We do not have a recommended method for placing that on the front end of your site at the moment.

      管理者

  17. Minerva says

    The tutorial is a great help. Very imprtessive! HOWEVER, the way the steps are decribed goes extremely fast. I have to keep replaying five times, at least, to be able to get one instruction then move on… then replay again… then move in 3 seconds, then replay again… Extremely fast. I wish you could speak even just 20 percent slower. Thank you

    • WPBeginner Support says

      Thank you for your feedback on our video, you should have the option using the cog in the bottom right of the video to change the playback speed :)

      管理者

  18. Vince Weeks says

    I want to allow users to register on my site. When I follow the tutorial, it tells me to go to wp admin – settings – general – membership and select allow anyone. I don’t see this option. What now?

    • WPBeginner Support says

      You may want to ensure you are an admin of your site and that you are actually in the wp-admin area of your site.

      管理者

返信を残す

コメントありがとうございます。すべてのコメントは私たちのコメントポリシーに従ってモデレートされ、あなたのメールアドレスが公開されることはありませんのでご留意ください。名前欄にキーワードを使用しないでください。個人的で有意義な会話をしましょう。