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:
gets redirected to:
But since these "undefined" params have so far only been present on base URLs, then the extra characters aren't really necessary.
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.
[edited by: keyplyr at 12:50 am (utc) on Aug 1, 2012]