开发者

Is %20 in site urls and and file name can create any problem on any server or browser(web/mobile) or OS or device etc?

Is %20 in s开发者_StackOverflow社区ite urls and and file name can create any problem on any server or browser or device etc ?

Is it bad for SEO ?


A %20 is a URL encoded space character. Because a URL can only contain certain characters, other characters must be encoded in order to be included in a URL. For example the following text:

this contains spaces

would be URL encoded as:

this%20contains%20spaces

An alternative encoding for a space character is the + character. This often preferred because it isn't as 'ugly', a bit easiery to read, and a bit shorter. The same string encoded this way would be:

this+contains+spaces

If you have a URL that includes the actual string %20, the % character needs to be URL encoded. The percent character is encoded with %25. So the following text:

give100%20times

would be URL encoded as:

give100%2520times

URL encoding is a standard on the internet and is required for correct operation. URL encoding should not cause any problems, however, not URL encoding will cause problems.


It shouldn't as its standard way of encoding spaces in urls? If it did it would "break the web(tm)"


%20 is the solution, not the problem :)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜