websites urls without file extension?

后端 未结 10 1798
误落风尘
误落风尘 2020-12-16 14:50

When I look at Amazon.com and I see their URL for pages, it does not have .htm, .html or .php at the end of the URL.

It is lik

10条回答
  •  星月不相逢
    2020-12-16 15:28

    A number of posts have mentioned this, and I'll weigh in. It absolutely is a URL rewriting system, and a number of platforms have ways to implement this.

    I've worked for a few larger ecommerce sites, and it is now a very important part of the web presence, and offers a number of advantages.

    I would recommend taking the technology you want to work with, and researching samples of the URL rewriting mechanism for that platform. For .NET, for example, there google 'asp.net url rewriting' or use an add-on framework like MVC, which does this functionality out of the box.

提交回复
热议问题