Link to home
Create AccountLog in
Avatar of TimSweet220
TimSweet220

asked on

wordpress pages invisible to the public

hello,


how do you make pages in your wordpress site  invisible to the public so when the pages loads only the pages that are not private will load all other pages will not load and therefore are not viewable.

I edited every page in my wordpress site and set them to private.  
when i log out and click on selected page that we set to private is it normal for the page to read news not found?


is there another way to make pages not viewable other then setting them to private?
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

When you set pages to private or password-protected, they are still "there" and any attempts to access them directly will produce some form of message.  The private pages should produce a 404 style "item not found" error and password protected pages should produce a password challenge screen.

To truly make things invisible to logged out users you need to alter your navigation so links to the protected pages are not visible unless the user is logged in.
Avatar of TimSweet220
TimSweet220

ASKER

is there a way to make only the pages that are not set up to be private the only page to show

for example all pages are set up to be private except for one page
i want that page to be the only one to show when the logged out user access the url  
is that possible if so how can i do that ?
ASKER CERTIFIED SOLUTION
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
It worked thanks