Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Shortcode Redirect

Beskrivning

Shortcode Redirect allows site owners to automatically redirect a user after a chosen amount of seconds when viewing a page or post on the site. The plugin instructions are very simple. Add a shortcode to the post/page that looks like the following [redirect url='http://somesite.com' sec='3'] the url= part is where you define the URL to redirect the user to and the sec= part is where you define how many seconds to wait before redirecting.

Donera

If you like this plugin please consider donating

Features

  • Works on pages and posts
  • NO settings or configurations to deal with
  • Define a URL to redirect the user to
  • Define how many seconds to wait before re-directing the user.

Note

Shortcode redirect should work with older versions of WordPress as well but was not tested with anything older than 2.7

Installation

  1. Upload ’shortcode-redirect.zip’ to the ’/wp-content/plugins/’ directory.

  2. Activate the plugin through the ’Plugins’ menu in WordPress.

  3. Add the shortcode on the pages/posts that you want to redirect. Shortcodes should look like [redirect url='http://somesite.com' sec='5'] where the url= part is the URL to redirect to, and sec= is the seconds to wait before redirecting the page.

  4. Klart!

Vanliga frågor

  • How do I get rid of the ”Please wait while you are being re-directed…” line? – Later I will have an option for this, but for now, just edit the scr.php file and delete line 36 which contains that text then save the file.

Recensioner

24 augusti 2023
It is simple and easy to use. Just wish the text wasn't showing on the frontend. But it is an easy fix so I give it a 5 stars! Thank you for making this plugin!
19 januari 2022
Pluginnya berfungsi, semoga kedepannya ada pengaturan opsi lebih lanjut (sorry i write in indonesian bahasa)
19 augusti 2020
Using Wordpress v5.5 As far as I can tell this plugin still works. Very easy to set up.
2 november 2019
No need to look for other redirect plugins. Works well with Firefox as well. My search stopped here. No need for sophisticated plugins for redirect. Congratulation to Cartpauj
Läs alla 30 betyg

Bidragsgivare och utvecklare

”Shortcode Redirect” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Shortcode Redirect” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

1.0.02

  • Fixed a low risk security hole

1.0.01

  • Added output buffer to make text show up in the right place
  • Added license to main file
  • Fixed URL bug

1.0.00

  • Första utgåvan