Page is a not externally linkable
keyplyr - 12:07 am on Aug 1, 2012 (gmt 0)
[edited by: keyplyr at 12:50 am (utc) on Aug 1, 2012]
Alright, alright... I changed it:
RedirectMatch 301 ^/undefined http://www.example.com/
Actually, what the $1 does do is redirect any added "undefined" on any other page to the index page... so:
http://www.example.com/widget.html/undefined
gets redirected to:
http://www.example.com/
But since these "undefined" params have so far only been present on base URLs, then the extra characters aren't really necessary.
[added]
Added the slash here. It's in the code but missed it in the cut'n paste here. The $1 did in fact do what it was intended to do. The "1" means the first, or base. Been in use for many years. Might not work on your server config though.