Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/.htaccess/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
.htaccess 隐藏URL参数ASPX/重写URL_.htaccess_Url Rewriting - Fatal编程技术网

.htaccess 隐藏URL参数ASPX/重写URL

.htaccess 隐藏URL参数ASPX/重写URL,.htaccess,url-rewriting,.htaccess,Url Rewriting,我有一些长URL,例如: …/shop/stuk--amp-rosetter/rosetter.aspx?mode=1&nav=1910050@@SHOP5#UNB4R2_8IQk 我想把它改写成: …/车间/车间-安培罗斯特/罗斯特 但是仍然允许javascript在调用后读取/使用参数。 这可能吗?您可以使用ISAPI重写3。思想:window.history.pushState()/replaceState()或.htaccess

我有一些长URL,例如:
…/shop/stuk--amp-rosetter/rosetter.aspx?mode=1&nav=1910050@@SHOP5#UNB4R2_8IQk

我想把它改写成:
…/车间/车间-安培罗斯特/罗斯特

但是仍然允许javascript在调用后读取/使用参数。
这可能吗?

您可以使用ISAPI重写3。

思想:window.history.pushState()/replaceState()或.htaccess