Jump to content
Sign in to follow this  
basmati

htaccess

Recommended Posts

basmati

We need to protect some pages with .htaccess. Is it possible to protect the whole content of a single page (with subpages): feature slider, content area with text and images. Any experiences?

Share this post


Link to post
Share on other sites
Kate

Hi Peter - When you say you're looking to "protect" them, may I ask from whom? Would it be an easier solution to just hide certain content (with a plugin) from users without enough credentials? Or do you have something else in mind?

Share this post


Link to post
Share on other sites
basmati

I try to protect some pages with special content. this content includes: a lot of pictures, draftings, special offers, etc. Adam told me to use the built-in WP function - that was a good idea. (By the way: is the build-in function as save as the .htaccess function?) The problem is: The direct path to the uploads folder with images an draftings is not protected. To disallow indexing the media folder by Google i could use the robots.txt and i did that. Is it possible to protect the uploads folder from external access? And if i use a direct path to a protected page with feature slider i can see the feature slider above and the sidebar menu and below the login window with password protection.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×