WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have created custom pages login page and register page in wordpress. My login page has to come when i visit the site. How do i make login page as the first page on the site. And how do i remove register and login pages from the tab structure.

share|improve this question
do you want to restrict your site and want it to be viewed by registered user only?? – phantom.omaga Dec 13 '11 at 11:25
Yes actually i am converting my wordpress site into a social networking blogging site with use of budy press. – sushil bharwani Dec 13 '11 at 11:28
what do u mean by "how do i remove register and login pages from the tab structure" could you explain it some more – phantom.omaga Dec 13 '11 at 12:10

One way to make the Log In page your landing page is to go to Dashboard > Settings > Reading and find:

Front Page displays ( ) Your latest posts (x) A static page

Select your "home page" (which will be the Log In page) and your blog page appropriately in the drop down menus.

Regarding buddypress tab/menu structure... I'm not that familiar with that. I feel like there's some code you can just add to your child theme's functions.php to remove that sort of feature but I'm unsure what.

share|improve this answer

to restrict unregistered users use the Registered Users Only plugin by Viper007Bond or Members Only plugin by hami.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.