Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Wordpress password protected pages

Featured Replies

Hi All

 

I just had a meeting with a client and we were discussing using wordpress as his CMS, but after a long discussion the overall outcome was that he would like a blog element to his site to use for news that is publicly accessible by all but would like to use the passwrd protect feature to restrict access to certain pages he creates.

 

He would create a page for client 'x' for example to offer them specific downloads related to a meeting/conference they had attended.

 

My question is that if the main parent page he creates is password protected - would any child pages of the parent page also be password protected with the same username and password? So if he creates a parent page, then each month create a child page, he wants to know if he'll have to create usernames/passwords for all the child pages too.

 

If anyone can anser this question for me, I would very much appreciate it...but going to go and search on google too.

 

Thanks

 

Evie

  • Author

I did a test on an existing blog and found that child pages are not password protected at all if the parent page is so that's a bummer - anyone know of a fix for this?

Have you tryed googling for a wordpress plugin? I'd imagine there'd be plenty about. You may also get a better response in a dedicated word press forum!

I did a site where I wanted clients to be able to login using the original wordpress login and then be redirected to a particular page with thier event details.

 

I found this usefull plug-in http://wordpress.org/extend/plugins/peters-login-redirect

 

I then created a new template for the client pages and added this code to prevent direct access to the page from entering the url:

 

<?php 

if (is_user_logged_in()) {

include('client_page.inc');

} else {

echo "You must be logged in to view this page. You will now be redirected to the main site.";
echo '<meta HTTP-EQUIV="REFRESH" content="5"; url="index.php">';


}

?>

 

So using the CMS I can create a new page i.e. "Karens-wedding".

I then manually create a user account for Karen and setup the login redirect for Karen to Karens-wedding.php.

I then email Karen her Login URL, username, and password.

When Karen logs in with her Username and Pass she is redirected to Karens-wedding.php.

 

It's not ideal but it works!

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.