This is also a user-solvable issue a great deal of the time. A link to http://php.net/functionname does the right thing. Linking to non-function-reference sections of the docs is a bit more challenging.
–
CharlesJan 23 '12 at 2:48

1

This also happens to be an English-only site, so I doubt they care. Most links that take you to a non-English version of documentation would probably get changed.
–
animuson♦Jan 23 '12 at 3:01

1 Answer
1

I agree that these links should not be region-specific. However, I think it's very dangerous to start applying regexes whenever a situation like this arises.

This site is fairly popular on SO; a search for url:"*.php.net*" yields over 5,000 results. That makes it a pretty popular site. I don't think we should do this for sites that have fewer links than that.

However, I think that the root problem is with php.net's architecture. They seem to be a little bit subdomain happy, with these 108 region-specific mirror sites and 14 other subdomains. They should anticipate that people will share their links, and design their service such that their multi-region CDN is invisible to their users. Or, at the very least, they could provide a permalink.