English 中文(简体)
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 site 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 :)





相关问题
Session Management with Windows Authentication

In an ASP.NET web app, using Integrated Windows Authentication, is the session tied to the windows identity? In other words, if I login (using IWA) to the app, and the app stores some "stuff" in my ...

Using Elmah with Cassini

Does anyone know if I can use Elmah with Visual Studio build-in web server(aka Cassini)? I get it working easily on IIS, but using same configuration, it doesn t work with Cassini. When I requested ...

Setting hostname in IIS, include www?

I want to set the hostname for a website I m adding in IIS 7, however do I include the www in the hostname or not? because I want both www.mysite.com and mysite.com both to point to mysite on the ...

inetpub versus any other folder

I ve run websites out of inetpub, as well as from folders just residing on the C: drive. I wonder, are there any definitive advantages to running websites out of inetputwwwroot?

IIS 6.0 hangs when serving a web-service

I am having issues with one of our web-services. It works fine on my development machine (win XP) whether I host it as a separate application or using cassini from Visual studio. Once I deploy on the ...

热门标签