Recently a friend asked how to do a redirect with apache’s mod_rewrite if a part of the url’s query string matches. After allot of trail and error I came to a solution. Original Url: htpp://example.com/old/index.php?param1=first&param2=sometext In this url the param1=first is static so won’t change. The second parameter is not static, so it must not match this. Redirect it to: [...]

© 2011 Crazy's Blog Suffusion theme by Sayontan Sinha