how to use htaccess redirectmatch with query_string?
- by Ronnie Chester Lynwood
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.