Lewat ke konten
  • Log Masuk
  • Daftar
WordPress.org

Indonesia

  • Tema
  • Plugin
  • Berita
  • Bantuan
  • Tentang
  • Komunitas
  • Poliglot
  • Gunakan WordPress
Gunakan WordPress

Plugin

  • Favorit Saya
  • Pengujian Beta
  • Pengembang

Plugin ini belum teruji dangan 3 rilis besar WordPress. Kemungkinan tidak lagi dipelihara atau didukung, dan mungkin menghadapi masalah kompatibilitas bila digunakan dengan versi WordPress yang lebih baru.

Unduh

Private Content Login Redirect

Oleh Kumar Abhisek
  • Detail
  • Ulasan
  • Instalasi
  • Pengembangan
Bantuan

Deskripsi

Do you post private content? Are you sending those links to your users with private content access?

WordPress by default redirects all non-logged users to a 404(content not found) page when they follow a private post or private page link.Instead of showing a 404 page, this plugin simply redirects those users to the login page.After successful login, it automatically redirects users with private content access to the private content link they followed.

Note: If you post private content and want to get more subscribers to read your private content, I developed a Free plugin for that too…Check out Mini Membership.

If you like this plugin, please consider leaving a review. Thank you!

Follow the developer on Twitter
Visit Developer Website

Download My Other Plugins

  • Mini Membership
  • WP Admin Color Schemes
  • Rainbow Status
  • Restrict Dashboard Access
  • Romance Admin Color Scheme
  • Frame Breaker
  • Inspire Dolly

Instalasi

  1. Download The Private Content Login Redirect package file, extract the private-content-login-redirect directory from ZIP file, upload it to WordPress Plugins directory ‘/wp-content/plugins/’ or install plugin from Plugin panel in WordPress Dashboard

  2. Activate Private Content Login Redirect via Plugin page

  3. All set

If you are new to WordPress : Installing Plugins

Ulasan

Redirect to login but no back redirection

pleclerc 20 September 2017
Redirect to login but no back redirection even we guess the wp-login/ url look like to indicate a future redirection. My page have two level./partenaires/annuaire-partenaires/ I look at the developper code, it's really too simple, can cause many problems.

Exactly what I needed!

Gustavo S. Serra 9 September 2017
Exactly what I needed!

Took me too long to find this simple plugin

frogdogtech 31 Januari 2017
This plugin does exactly what it needs to while remaining non-invasive. Utilizes the built in wordpress private page status. Brilliant. Thanks.

Work perfectly!

gtamborero 4 Oktober 2016
hidden pages goes to login 😉 You can also get the function inside the plugin and use it your functions.php theme: function private_content_redirect_to_login() { global $wp_query,$wpdb; if (is_404()) { $private = $wpdb->get_row($wp_query->request); $location = wp_login_url($_SERVER["REQUEST_URI"]); if( 'private' == $private->post_status ) { wp_safe_redirect($location); exit; } } } add_action('template_redirect', 'private_content_redirect_to_login', 9);

Works as described

smart.u 3 September 2016
Does it's trick, very helpful, thank you.

Does what it says.

eisgeist 3 September 2016
I've been searching for a little while for a plug-in doing a simple thing -that IMHO should be part of base WordPress capabilities-: redirect a visitor to login page when he/she tries to access a restricted page. To my needs, it simple and effective.
Baca semua 12 ulasan

Kontributor & Pengembang

“Private Content Login Redirect” adalah perangkat lunak open source. Berikut ini mereka yang sudah berkontribusi pada plugin ini.

Kontributor
  • Abhisek

Terjemahkan “Private Content Login Redirect” dalam bahasa Anda.

Tertarik mengembangkan?

Lihat kode, periksa repositori SVN , atau mendaftar ke log pengembangan melalui RSS.

Log Perubahan

1.0.1

  • Solved Issue: When the plugin Fails to redirect if redirect_canonical() finds a match.(Thanks Dave James Miller for pointing this out)
  • Works with WordPress 4.1.1

Meta

  • Versi: 1.0.1
  • Diperbarui: 7 tahun yang lalu
  • Instalasi Aktif: 1,000+
  • Versi WordPress: 3.0 atau yang terbaru
  • Diuji hingga: 4.6.25
  • Bahasa:
    English (US)
  • Tag:
    loginprivate contentredirection
  • Tampilan lanjut

Rating

Lihat semua
  • 5 bintang 9
  • 4 bintang 1
  • 3 bintang 0
  • 2 bintang 1
  • 1 bintang 1
Log in untuk memberi masukan.

Kontributor

  • Abhisek

Bantuan

Masalah yang diselesaikan dua bulan terakhir:

0 dari 1

Lihat forum bantuan

  • Tentang
  • Berita
  • Hosting
  • Donasi
  • Suvenir
  • Dokumentasi
  • Developer
  • Terlibat
  • Belajar
  • Tampilan
  • Plugin
  • Tema
  • Pola
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privasi
  • Kode Publik
WordPress.org
WordPress.org

Indonesia

  • Kunjungi halaman Facebook kami
  • Kunjungi akun Twitter kami
  • Kunjungi akun Instagram kami
  • Kunjungi akun LinkedIn kami
Kode adalah Puisi.