Saturday, April 11, 2020
4 Different Ways to Password Protect WordPress
Need to password protect WordPress? Whether you need to password protect your entire site or just a few individual posts (or something in between!), Ive got the solutions for you in this post.Once you finish reading, youll know how to password protect:Your entire WordPress siteSpecific categories of your siteIndividual posts or pagesIndividual WooCommerce productsSpecific content inside an otherwise public WordPress postSo whether you want the whole kit and kaboodle or just a single post, youll learn it here. Lets jump in Password Protected Author(s): Ben HusonCurrent Version: 2.2.5Last Updated: June 4, 2019password-protected.2.2.5.zip 90%Ratings 1,407,115Downloads WP 4.6+Requires To use it, install and activate the plugin like you would any other WordPress plugin. Then, head to Settings ââ â Password Protected.All you need to do is configure the following page to password protect WordPress:Heres what everything means:Password Protected Status when enabled, your site is password protected.Protected Permissions if you check one of these boxes, visitors with those permissions will not need to enter a password. Theyll just see your site like normal.New Password enter the password you want to use for your site.Allow IP Address if you enter an IP address here, anyone visiting your site from that IP address will not need to enter a password.Once you click Save Changes, anyone who doesnt fit one of the access rules you defined will see this screen before they can access your site:If youd like to customize this pages styling, you can do it the same way youd customize the normal WordPress login page.Note if someone has a direct link to an image or file on your server, theyll still be able to access that file. The password protection only affects your actual WordPress site.How to password protect WordPress categoriesNot ready to password protect your entire site? If you want something a little less drastic, you can use a different plugin to password pro tect specific categories of posts on your site. For this approach, you can use Access Category Password: Access Category Password Author(s): JojabaCurrent Version: 1.5.1Last Updated: October 16, 2019access-category-password.zip 80%Ratings 19,397Downloads 3.0.1Requires Once youve installed and activated the plugin, head to Settings ââ â Access Category Password.Like Password Protected, theres only one page of settings:Heres what everything means:The password self-explanatory! The password users will use to access restricted categories.Impacted categories check the box for each category you want the password to apply to.Granting users user roles for which you check the box will not need to enter a password.Only single post if you check this box, post content will still display on your archive pages or your homepage. Only the single post page of posts in the restricted categories will be password protected. The default should be to leave this unchecked.And below those o ptions, you can also configure the various messages that will appear on the Enter password form. Speaking of which, heres what users will see if they try to access a post from a restricted category:How to password protect WordPress posts or WooCommerce productsIf you want to password protect individual WordPress posts, pages, or WooCommerce products, you dont need any third-party plugins. WordPress actually has a built-in function to help you accomplish this.Just head to the WordPress Editor for a post, page, or WooCommerce product you want to restrict. Then, under Publish, click Edit for the Visibility option:Choose Password protected and enter your desired password. Then click OK:When you Publish or Update your post, it will be password protected and look like this:Because this is a core WordPress function, the process is identical for pages, WooCommerce products, or pretty much any other custom post type.One neat trick is to use the same password for multiple posts. If you do tha t, a user will only need to enter the password once to gain access to all the posts using that specific password.How to password protect part of WordPress postIf you just want to add password protection to a specific bit of content inside an otherwise public WordPress post or page, youll need to turn back to third-party plugins for help. This time, you can use one called Passster ââ¬â Password Protection: Passster Password Protection Author(s): patrickposnerCurrent Version: 3.2.4Last Updated: August 21, 2019content-protector.zip 90%Ratings 90,019Downloads WP 4.6+Requires As usual, install and activate the plugin to get started. Then go to Settings ââ â Passster and create a shortcode with your password or with an automatically generated one.Next, head to the WordPress Editor for the post you want to add password protected content to. Then, simply paste the shortcode where you want in your Editor and write your protected content:Now, visitors will be able to see all of your normal content. But anything you put inside the shortcode will be password protected like this:Wrapping things upAnd that finishes up our guide to password protect WordPress in all kinds of ways. If you just need to restrict individual WordPress posts, you can use WordPress built-in password functionality. Otherwise, to password protect other parts of WordPress, youll need to use one of the third-party plugins I referenced above. Free guide5 Essential Tips to Speed Up Your WordPress SiteReduce your loading time by even 50-80% just by following simple tips.
Subscribe to:
Posts (Atom)