how to use htaccess redirectmatch with query_string?
        Posted  
        
            by Ronnie Chester Lynwood
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Ronnie Chester Lynwood
        
        
        
        Published on 2010-04-06T15:02:38Z
        Indexed on 
            2010/04/06
            15:13 UTC
        
        
        Read the original article
        Hit count: 406
        
hello...
im trying to redirect "search.php?q=somethinghere" to "search/somethinghere/" but I can't do it! I'm trying to send form "<form action="search/" method="get" name="search">" like this but url goes to "search/?q=somethinghere"
RedirectMatch 301 ^/search.php?q=(.*)$ http://domain.com/search/$1/ this is also not working. whats the problem?
I don't want "?q=" in URL.
© Stack Overflow or respective owner