Smart DL Redirect

설명

Smart DL Redirect is a lightweight and powerful WordPress plugin that lets you add a timer-based interstitial page before a file download starts.

It’s perfect for:
– Affiliate marketers
– Download site owners
– Resource-sharing blogs
– Anyone who wants to delay download with ads or messages

Once a visitor clicks a download link, they are redirected to a customizable “preparing download” page, where a timer counts down, shows ads or custom HTML, and then auto-redirects to the actual file.

Important — redirect behavior: This plugin redirects the visitor’s browser to the file URL you provide — the plugin does not download, host, or proxy the file server-side. Authors should only supply links to files they trust.

Ad/snippet sanitization: Any ad/snippet HTML entered in the plugin settings is sanitized using wp_kses_post() before output. Note that wp_kses_post() strips <script> tags and other potentially dangerous elements — if your ad provider requires inline scripts, follow the provider’s recommended safe-install instructions or use a trusted ad plugin.

✨ Key Features

  • ⏱️ Countdown Timer – Set the delay (in seconds) before download starts.
  • 🎯 Auto-Redirect – Automatically starts the file download when timer ends.
  • 🧰 Manual Fallback Link – If download fails, users can click a manual download link.
  • 💡 Ad Placement or Custom HTML – Insert ads, promotional banners, or instructions in the waiting area.
  • 🧩 Easy Shortcode Usage – Just add [smart_dl file="https://example.com/file.zip"] to any post or page.
  • ⚙️ Lightweight and Fast – No external dependencies, optimized for performance.

License

Smart DL Redirect is licensed under the GPLv2 or later. See https://www.gnu.org/licenses/gpl-2.0.html for details.

스크린샷

설치

  1. Upload the plugin folder to the /wp-content/plugins/smart-dl-redirect directory, or install it via the WordPress dashboard.
  2. Activate the plugin through the “Plugins” menu.
  3. Visit Settings Smart DL Redirect to configure the timer duration, ad content, and redirect slug.
  4. Use the shortcode [smart_dl file="https://example.com/file.zip"] wherever you want to offer a delayed download.

FAQ

What does this plugin do?

It adds a delay (with optional ads or custom content) before the user receives their file. It’s often used for monetization or engagement purposes.

How do I use the shortcode?

Insert [smart_dl file="URL_TO_FILE"] in any post or page. This creates a link to the redirect page, which will count down and then trigger the download.

Can I change the number of seconds for the countdown?

Yes. Go to Settings Smart DL Redirect and change the timer value.

Can I show ads or banners on the countdown page?

Yes. There is a dedicated field in the settings page where you can paste any HTML, ad script, or message.

Does it support direct links to any file type?

Yes. As long as it’s a valid, publicly accessible file URL, the plugin will handle it.

Will it affect SEO?

No. The redirect page is a regular page created on activation and not auto-linked, so it won’t interfere with SEO unless intentionally indexed.

후기

2025년 8월 19일
I’ve been searching for a free alternative like this for a long time, and Smart Download Redirect works perfectly. Simple to set up, does exactly what I need, and saves me the hassle of paid solutions.
모든 1 평가 읽기

기여자 & 개발자

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

기여자

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

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

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

변경이력

1.3.1

  • Tested with the latest WordPress core version and confirmed compatibility.
  • No functional changes; this is a maintenance compatibility release.
  • Re-verified WPCS/PHPCS compliance and multisite activation.

1.3

  • Added: Security index.php files to all plugin directories to prevent direct file access
  • Added: Translation support with smart-dl-redirect.pot file in /languages
  • Added: uninstall.php for proper cleanup of plugin settings and created page on uninstall
  • Added: Download button now automatically inherits the active theme’s default button style for visual consistency
  • Removed: Unused banner and icon image assets from /assets

1.2

  • Fixed: Countdown and auto-download were not triggering due to missing DOM elements
  • Improved: Dynamic countdown message now updates every second

1.1

  • Minor edits to readme.txt for clarity and compliance
  • Updated plugin metadata (no changes to functionality)
  • Adjusted plugin folder name to match slug requirements

1.0

  • Initial public release
  • Shortcode support
  • Countdown timer with fallback link
  • Custom HTML/ad integration