Redirection to Log-in page

Bookmark this on Hatena Bookmark
Hatena Bookmark - Redirection to Log-in page
Share on Facebook
[`google_buzz` not found]
[`yahoo` not found]
[`livedoor` not found]
[`friendfeed` not found]
[`tweetmeme` not found]
[`grow` not found]

Before that, I did installed a plugin "
syntaxhighlighter" to make this notes.
If you set this plugin into V2.x then it looks easier to copy sources by clicking icon, but I set V3.x that is possible to control just by double clicking…. Selfish ?

OK now !

Top page redirection, e.g. members only "Alumni-site"

In “wp-blog-header.php”, insert lines blow just before “wp();”

  if (is_user_logged_in()){
  }
  else {
  auth_redirect();
  };

WordPress を会員専用サイトなどに使う時のリダイレクションのメモ。
ログイン画面に導きます。
その前に、ソースコードを記述するためのプラグインをインストールしなければ。

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.