Justin Shattuck

The continuous plague of several pages being indexed using numerous variations of the same domain name has definately been experienced by most of us. In an attempt to remedy this extremely aggrivating issue; WWW-Redirect was born. Originating from the source of Matt’s no-www plug-in, www-redirect takes it a step or so further by allowing users to opt for different redirect settings. This plugin allows users to have more control over the uri in which their users access their blog. By doing so, you’re giving search engines and users a consistent link for accessing your content.

Features

  • Ability to set redirect to www prefix. (i.e.: www.bleah.com)
  • Redirect to non-www prefix. (i.e.: bleah.com)
  • Redirect index.php requests to /

Disclaimer

I’m distributing this plug-in without any warranty, however, it works for me. If you have any suggestions or conflicts please let me know. I’ll conjur up something to improve later — just wanted to make it a little more effecient. Naturally, using your http daemon to control this behavior is typically more efficient, personally, I prefer using PHP. If you would like direction on how to use .htaccess to control this action, please visit no-www.org

Installation

Installing WWW Redirect is extremely simple, just like most plugins for Wordpress.

  • Download WWW-Redirect Version 0.3
  • Extract the compressed zip file to your computer
  • Transfer the file www-redirect.php to your web server, place inside wp-content/plugins/
  • Login to your Wordpress administrative control panel
  • Under the plugins section, click activate next to WWW Redirect.
  • For preferences click on Redirect Options, on the sub menu of the plugins menu.
WWW Redirect Screenshot

Changelog

From time to time, suggestions will be made and I will make adjustments to the script based upon user’s requests. Those changes and modifications will be logged here, in the wonderful changelog.

06.22.2006

  • Released version 0.3
  • Added preferences menu to plugins page of admin panel.
  • Added option to set redirect to www or non-www.
  • Added option to redirect index.php to /, or not.
  • Cleaned up code :)

06.21.2006

  • Released version 0.2
  • Corrected bug, causing URIs containing WWW, to break plugin.
  • Plugin Released

Sponsors

Text Link Ads