User blog comment:Airhogs777/How to redirect to a mobile main page/@comment-824313-20111212052807

Oh, by the way, the reason I used 2 if statements was because MW automatically turns ampersands into escape characters (so it became &amp;amp;&amp;amp;).