Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

When you visit any documentation page on, your browser is redirected to a regional server, presumably to speed up response times.

For example, accessing from the US, my browser is typically redirected to,, etc.

Sounds great, except that links posted in questions and answers on SO retain those hostnames, so you end up seeing links to,,,, etc.

This tends to defeat the purpose of having regionally-located servers if people are going to share links with people who live thousands of miles away from the servers that they point to.

It seems like this could be handled automatically and transparently via a regular expression search and replace, similar to automatic removal of salutations.

Note that there are a number of subdomains that should be left alone.

share|improve this question
This is also a user-solvable issue a great deal of the time. A link to does the right thing. Linking to non-function-reference sections of the docs is a bit more challenging. – Charles Jan 23 '12 at 2:48
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
up vote 11 down vote accepted

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:"**" 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'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.

share|improve this answer
Good thing you included the search link; I just noticed from the first result a link to, which should definitely be left alone! – user164291 Jan 23 '12 at 1:33
Yeah, I didn't want to specify url:http:\\* url:http:\\* etc. for all 108 sites, that would be too tedious. Be careful with those regexes! – Kevin Vermeer Jan 23 '12 at 1:38

You must log in to answer this question.