Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Notice the slash in "http://en.wikipedia.org/wiki/TCP/IP" How does it not misinterpret TCP as a subfolder?

share|improve this question
add comment

1 Answer

It has an .htaccess rule that spots the /wiki/ and interprets everything after that as a parameter to be passed to a PHP script, a bit like this:

/pagedisplay.php?page=TCP%2FIP

Note that the slash gets converted to %2F.

This happens behind the scenes so you don't see the url being rewritten.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.