Title: Private Website
Last modified: August 18, 2016

---

# Private Website

 *  [Vwsung18t](https://wordpress.org/support/users/vwsung18t/)
 * (@vwsung18t)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/private-website/)
 * I wanna make a site where you have to login to view. is this something that’s
   built into wordpress or is there a plug-in for it?

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Doodlebee](https://wordpress.org/support/users/doodlebee/)
 * (@doodlebee)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/private-website/#post-531051)
 * I know of two solutions for this. Someone else might come along with better ideas,
   too…but…
 * 1) Use your .htaccess file to password-protect your wordpress directory. Then
   only people you pass the username and password to can visit the site. Everyone
   else will get a “Forbidden” error page. This is not a WordPress thing – you have
   to edit/create your own .htaccess files to do this.
 * 2) Install WordPress in a subdirectory, but place index.php outside of the installation,
   one level up. Make it a static page. Leave only the “login” link of your Meta
   section on the static page. People who come to your site will see the static 
   page, and can’t go any further into the site unless they log in. This can be 
   done solely with WordPress code, but it’s most certainly advanced theme editing
   to get it done.
 * Like I said, there may be other options, but those are the two I know of.
 *  [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/private-website/#post-531060)
 * Re #1, doodlebee: this is easily handled if the person has a cPanel-enabled host;
   cPanel provides a very user-friendly interface for doing this without ever having
   to deal with .htaccess.
 *  [Doodlebee](https://wordpress.org/support/users/doodlebee/)
 * (@doodlebee)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/private-website/#post-531116)
 * True – good point vkaryl (I have cPanel, and I’ve used it before) – I forgot 
   about that 😉
 *  [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/private-website/#post-531121)
 * Yah, me too – I wouldn’t have remembered it to post about if my daughter hadn’t
   called and asked me if I thought it would work!
 *  Thread Starter [Vwsung18t](https://wordpress.org/support/users/vwsung18t/)
 * (@vwsung18t)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/private-website/#post-531139)
 * i use godaddy. do they have cpanel?
 *  [Doodlebee](https://wordpress.org/support/users/doodlebee/)
 * (@doodlebee)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/private-website/#post-531163)
 * GoDaddy has *a* control panel, but not cPanel. I dont’ know if they have the 
   capability – but if they do, you need to look for something that allows you to
   password-protect directories.
 * If they don’t have it, then .htacess is just as easy – it’s not hard to do at
   all. Google for “using .htaccess to password protect directories” and you’ll 
   see a plethora of tutorials. It’s two very small files – really easy.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Private Website’ is closed to new replies.

 * 6 replies
 * 3 participants
 * Last reply from: [Doodlebee](https://wordpress.org/support/users/doodlebee/)
 * Last activity: [19 years, 2 months ago](https://wordpress.org/support/topic/private-website/#post-531163)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
