I have a website using PHP-based CMS system.
So each page is generated dynamically, like this :
http://www.shuling.net.cn/index.php?_m=mod_product&_a=view&p_id=87
Now I want to redirect this specific page to another page, i.e.:
So I write .htaccess file as follows :
redirect 301 /index.php?_m=mod_product&_a=view&p_id=87 https://www.datanumen.com/sql-recovery/
But after I upload the .htaccess to the root directory of the website, this does not work at all.
I retest by writing another rule, like this:
redirect 301 /sql/ https://www.datanumen.com/sql-recovery/
Then this rule will work perfectly.
Why?
Thank you