One way is to ask visitors to enter their date of birth in a form, as shown in the image below
Posted: Tue Jan 21, 2025 6:40 am
This way, you can prevent minors from accessing older content without negatively impacting your WordPress SEO .
First, you need to install and activate the Age Gate plugin . For more details, see our step-by-step guide on how to install a WordPress plugin .
Once activated, go to the Age Gate » Restrictions page in the WordPress dashboard and enter how old visitors must be to access your content next to the Age Limit option.
Add default age to view your content
By default, Age Gate restricts access to all of your content, but you may want to prevent minors from visiting only certain sites.
For example, if you run an online business with a plugin like WooCommerce , you can restrict access to certain products on your website.
To do this, simply open the “Restrict” drop-down menu and select “Selected content”.
How to age restrict a WordPress website
If you choose this setting, all your posts and pages will be unrestricted by default.
To add age verification to a page or post, you need to list of greece cell phone number open it in the editor and then enable the “Restrict this content” switch in the right menu.
Finally, you can simply ask visitors if they are old enough to access your content by displaying “Yes/No” buttons.
An example of an age restricted WordPress blog
To choose between these options, simply open the “Validate age with” drop-down menu.
Then select either input fields, drop-down fields or yes/no buttons.
How to validate the visitor's age in WordPress
By default, people must verify their age every time they visit your website.
If you want, you can enable the “Remember me” option so that visitors don’t have to repeat the verification every time. After that, you can use the “Remember duration” settings to specify how long Age Gate should remember the visitor’s age.
First, you need to install and activate the Age Gate plugin . For more details, see our step-by-step guide on how to install a WordPress plugin .
Once activated, go to the Age Gate » Restrictions page in the WordPress dashboard and enter how old visitors must be to access your content next to the Age Limit option.
Add default age to view your content
By default, Age Gate restricts access to all of your content, but you may want to prevent minors from visiting only certain sites.
For example, if you run an online business with a plugin like WooCommerce , you can restrict access to certain products on your website.
To do this, simply open the “Restrict” drop-down menu and select “Selected content”.
How to age restrict a WordPress website
If you choose this setting, all your posts and pages will be unrestricted by default.
To add age verification to a page or post, you need to list of greece cell phone number open it in the editor and then enable the “Restrict this content” switch in the right menu.
Finally, you can simply ask visitors if they are old enough to access your content by displaying “Yes/No” buttons.
An example of an age restricted WordPress blog
To choose between these options, simply open the “Validate age with” drop-down menu.
Then select either input fields, drop-down fields or yes/no buttons.
How to validate the visitor's age in WordPress
By default, people must verify their age every time they visit your website.
If you want, you can enable the “Remember me” option so that visitors don’t have to repeat the verification every time. After that, you can use the “Remember duration” settings to specify how long Age Gate should remember the visitor’s age.