WSN Redirector

Requirements

You need PHP 4 or PHP 5 available for your web hosting account. For stats tracking you'll need PHP 5's sqlite support, though this isn't required, you can use WSN Redirector without stats tracking.

Installation Instructions

  1. Upload the wsnredirector directory to be a subdirectory of your web root -- that's in public_html or www, normally.
  2. If suPHP isn't enabled on your server you'll need to CHMOD config.php, data.php and statsdb.sqlite to 666.
  3. Visit http://example.com/wsnredirector/ in your web browser (replacing example.com with your site) to set up your redirects. Check your stats tracker, like google analytics, to come up with redirect ideas.
  4. To integrate, place

    into the <head> section of your website pages. If you have PHP pages and the know-how to edit them, you can use <?php $origdir = getcwd(); chdir($_SERVER["DOCUMENT_ROOT"].'/wsnredirector/'); include 'phphandler.php'; chdir($origdir); ?> instead to eliminate the slight delay in redirecting.

Miscellaneous

Please keep in mind that not all browsers are configured to give a referring URL, so not everyone can be redirected.

If you lose your password, you can find it in the config.php file.

Thanks for downloading!

About WSN

Like WSN Redirector? Check out the suite of WSN PHP scripts for all your website needs, at http://www.webmastersite.net.

License

WSN Redirector is copyrighted software. You may use as many copies as you like, and you may distribute copies as long as they're unmodified. Distributing modified copies requires permission from the author.