开发者

Rewrite Get Parameter in URL

开发者 https://www.devze.com 2023-02-04 11:26 出处:网络
I have an url like: /?page=2/开发者_StackOverflow and want to rewrite it to : /page/2/. What is the best way to do that?Language/hosting environment would really help here.

I have an url like: /?page=2/开发者_StackOverflow and want to rewrite it to : /page/2/. What is the best way to do that?


Language/hosting environment would really help here.

As ChvyVale mention if you are using php then using mod_rewrite is your best bet.

If you are using .NET then you need to look into ASP.NET Routing

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号