How to htaccess redirect this long URL?

前端 未结 2 1928
难免孤独
难免孤独 2021-01-27 22:49

I am trying to get my script working. How to redirect and customize the below URL?

https://example.com/order?send=value1&send2=value2&send3=value3
         


        
2条回答
  •  情歌与酒
    2021-01-27 23:04

    this site can help you: http://www.generateit.net/mod-rewrite/

    RewriteEngine On
    RewriteRule ^([^/]*)/([^/]*)/([^/]*)\.html$ /order?send=$1&send2=$2&send3=$3 [L]
    

提交回复
热议问题