NDT Redirect

설명

NDT Redirect is a lightweight plugin designed to manage external links on your WordPress site. It intercepts external links, redirects them through an intermediate page with a customizable delay, and applies the no-referrer policy to protect user privacy. This plugin is ideal for site owners who want to ensure link safety and maintain control over outbound traffic.

Key features include:

  • Adds a redirect page with a countdown timer for external links.
  • Supports no-referrer meta tag to prevent referrer leakage.
  • Allows administrators to enable/disable the plugin and configure settings.
  • Customizable redirect time and link target (_self or _blank).
  • Option to exclude specific user roles (e.g., Administrators) from redirection.
  • Compatible with pages, posts, comments, and WooCommerce products.

NDT Redirect is developed and maintained by Tony Nguyễn and will be supported as long as necessary.

Support

For support, please contact me via:
– Email: admin@ndtan.net
– Telegram: @nguyenduytan
– Website: https://nguyenduytan.com

스크린샷

  • Admin settings page under NDT Solutions > NDT Redirect.

설치

  1. Upload the ndt-redirect folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to NDT Solutions > NDT Redirect in the admin dashboard to configure settings.

FAQ

What does this plugin do?

NDT Redirect intercepts external links on your site, redirects them through a customizable intermediate page, and applies a no-referrer policy to enhance privacy and security.

How do I configure the plugin?

After activation, go to NDT Solutions > NDT Redirect in your WordPress admin dashboard. You can enable/disable the plugin, set redirect time, choose link targets, and configure which content types (pages, posts, etc.) are affected.

Can I exclude certain users from redirection?

Yes, in the settings, you can select user roles (e.g., Administrator) under “Except group id” to exclude them from the redirect feature.

Does it work with WooCommerce?

Yes, the plugin supports redirecting external links in WooCommerce product descriptions if the “Products” option is enabled in the settings.

Why is the redirect page not showing?

Ensure the plugin is enabled and at least one content type (e.g., Pages, Posts) is selected under “Effect on” in the settings. Also, check if your user role is excluded under “Except group id”.

How can I support the developer?

You can support the developer by donating via the PayPal.me link provided in the plugin’s admin settings page under “About the Author”.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“NDT Redirect”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “NDT Redirect”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.0.7

  • Standardized prefix to NDTAN_ to align with WordPress.org guidelines.
  • Moved inline styles to admin.css and enqueued using wp_enqueue_style().
  • Added “Settings” link to the Plugins page.
  • Removed load_plugin_textdomain() as it is not needed for WordPress.org-hosted plugins.
  • Updated Requires PHP to 7.0.
  • Improved toggle switch alignment and styling for better UI consistency.
  • Fixed minor security and compatibility issues.

1.0.6

  • Updated “Tested up to” to WordPress 6.8 for compatibility.
  • Fixed image display to use wp_get_attachment_image() for loading.gif to comply with Plugin Check recommendations.
  • Removed unused SweetAlert2 to comply with WordPress.org guidelines on remote resources.
  • Fixed fatal error in admin menu due to invalid callback.
  • Fixed security issues with output escaping and nonce verification.
  • Used existing admin.js for admin script, removing external resource.
  • Fixed dynamic sanitize callback for settings.
  • Fixed English translation file to match code structure.
  • Fixed translation issue for “If waiting too long please %s” on redirect page.
  • Fixed i18n issue by correctly placing translators comments for placeholders.
  • Fixed window.open issue for _blank target.
  • Improved countdown reliability and multilingual support.
  • Added SSL check for resource URLs.
  • Fixed duplicate title tag issue.

1.0.5

  • Fixed issue where unchecking all “Except group id” options was not saved correctly. Now supports saving an empty group list.
  • Improved handling of “Except group id” settings to retain previous values only when necessary.
  • Fixed persistent “Administrator” checkbox issue in “Except group id” settings.

1.0.2

  • Initial public release with full functionality.

1.0.1

  • Beta release with basic redirect and no-referrer features.

1.0

  • Initial development version.