2012-10-17 199 views
1

我遇到了URL(http://www.someurl.com//books/category:10000/),其中我遇到了'//'作为部分的网址。URL地址中'//'的含义是什么

URL中'//'的含义是什么?另外请提供一些使用情况下,这样的条目。如果可能的话,请提供一些资源,在这里我可以阅读更多关于URL结构的信息。

+0

大多数我遇到这样的事情的时候,这是我的坏服务器端编程;) –

+0

复制(在网站管理员):http://webmasters.stackexchange.com/questions/8354/what-does-the-double-slash-mean-in-urls – unor

回答

1

虽然有些Web服务器可能会专门处理它们,但通常会忽略多个连续的斜线。这可能是特定于实现的。如果它是标准的一部分,那么它就会被松散地遵循。

这个问题:What is the Meaning of '//' in a URL address

这个问题有一些多余的斜线:https://stackoverflow.com//////questions//////12928527///what-is-the-meaning-of-in-a-url-address/12928627#12928627

Here's a question about the significance of extra slashes on the Webmasters stack exchange site.