hello, i can't get it working moderewrite in this example: i need to rewrite url and pass searched word to other url when clicked i all ready tryit many examples but nothing works for me could any body help me please? thank you very much for your help in advance isd
i believed this help you RewriteEngine on RewriteRule ^results?search_query=(.*) search.cgi?zoom_query=$1 [L]
Here is a more standardized approach. Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteCond %{QUERY_STRING} ^search_query=(.+)$ [NC] RewriteRule ^results.*$ /search.cgi?zoom_query=%1 [QSA,L] Code (markup):
thank you very much Estevan for your help, the first one i all ready tryit be4 with no result, the secend one i just tryit now and also have no luck... i tryit with htaccess in main directory and subdirectory