Rewrite rule solving, online ............ /Sell_list.php redirection to/assets/sell_list.php? Fid = 1 redirect to/assets/list? Fid = 1/bencandy. php? Fid-55-id-21619-page rewrite rule solving, online ............
/Sell_list.php redirects to/targets
/Sell_list.php? Fid = 1 redirect to/assets/list? Fid = 1
/Bencandy. php? The fid-55-id-21619-page-1.htm redirects to/news/bencandy. php? F id = 55 & id = 21619
Please help me. I wrote it many times ..
------ Solution --------------------
PHP code
RewriteEngine on # http://www.aa.com/webapp/sell_list.php? Fid = 111222 RewriteCond % {QUERY_STRING} ^ fid = ([0-9] +) RewriteRule ^ sell_list \. php $ samples/list [L] # http://www.aa.com/webapp/sell_list.phpRewriteRule ^ sell_list \. php $ Pipeline [L] # http://www.aa.com/webapp/bencandy.php? Fid-55-id-21619-page-1.htmRewriteCond % {QUERY_STRING} ^ fid-([0-9] +)-id-([0-9] +)-page-1 \. htmRewriteRule ^ bencandy \. php (. *) $ news/bencandy. php? Fid = % 1 & id = % 2 [L]