Перейти к содержимому
  • Войти
  • Регистрация
WordPress.org

Русский

  • Темы
  • Плагины
  • Новости
  • Поддержка
    • Документация
    • Форумы
  • О WordPress
  • Сообщество
  • Скачать WordPress
Скачать WordPress

Плагины

  • Любимые
  • Бета-тестирование
  • Разработчикам

Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Скачать

Private Content Login Redirect

Автор: Kumar Abhisek
  • Детали
  • Отзывы
  • Установка
  • Разработка
Поддержка

Описание

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

Установка

  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

Отзывы

Redirect to login but no back redirection

pleclerc 20.09.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 09.09.2017
Exactly what I needed!

Took me too long to find this simple plugin

frogdogtech 31.01.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 04.10.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 03.09.2016
Does it's trick, very helpful, thank you.

Does what it says.

eisgeist 03.09.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.
Посмотреть все 12 отзывов

Участники и разработчики

«Private Content Login Redirect» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники
  • Abhisek

Перевести «Private Content Login Redirect» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

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

Мета

  • Версия: 1.0.1
  • Обновление: 7 лет назад
  • Активных установок: 1 000+
  • Версия WordPress: 3.0 или выше
  • Совместим вплоть до: 4.6.25
  • Язык:
    English (US)
  • Метки:
    loginprivate contentredirection
  • Дополнительно

Оценки

Посмотреть все
  • 5 звёзд 9
  • 4 звезды 1
  • 3 звезды 0
  • 2 звезды 1
  • 1 звезда 1
Войдите, чтобы оставить отзыв.

Участники

  • Abhisek

Поддержка

Решено проблем за последние 2 месяца:

0 из 1

Перейти в форум поддержки

  • О нас
  • Новости
  • Хостинг
  • Поддержать
  • Сувениры
  • Документация
  • Разработчики
  • Присоединиться
  • Обучение
  • Витрина
  • Плагины
  • Темы
  • Паттерны
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Приватность
  • Открытый код
WordPress.org
WordPress.org

Русский

  • Посетите нашу страницу на Facebook
  • Посетите нашу ленту в Twitter
  • Посетите наш Instagram
  • Посетите нашу страницу в LinkedIn
Код — это поэзия.