websites urls without file extension?

后端 未结 10 1674
误落风尘
误落风尘 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:05

    For websites that use Apache, they are probably using mod_rewrite that enables them to rewrite URLS (and make them more user and SEO friendly)

    You can read more here http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html and here http://www.sitepoint.com/article/apache-mod_rewrite-examples/

    EDIT: There are rewriting modules for IIS as well.

提交回复
热议问题