N
N
NiGP2011-09-02 16:53:53
Habr
NiGP, 2011-09-02 16:53:53

Why habr refused %username%. habrahabr.ru

Actually a subject!

Answer the question

In order to leave comments, you need to log in

9 answer(s)
J
JoeyHere, 2011-09-02
@JoeyHere

Only thanks to the question noticed changes.
Indeed, it is interesting.

L
lesha_penguin, 2011-09-02
@lesha_penguin

Still no one will say anything. Therefore, my assumptions are:
1) Reducing the load on the DNS.
pros: for each access to the user profile, an extra resolving is performed. introduces delays. extra load on the network.
against: the news “how DNS fell under the habreffect” is good to publish on the first of April.
2) >9000 virtual hosts greatly upset the server.
pro: very possible, especially if they were "brutally" registered in the apache config.
against: I strongly doubt that it is so. Hundreds of hosting campaigns offer virtual hosting services, when even more domains hang on one server, and how is Habr different? Yes, and high-loaded projects with a bunch of subdomains: there are also good examples, ZheZheshechka, for example, also works for itself, and nothing!
3) Virtual subdomains were originally planned for something else, such as the ability for habrausers to create their own mini-site on habré. But then we decided not to. And now they just “cut the hell out of a hundred-year-old vestige” during the next iteration of refactoring.
pro: sometimes the code should be sorted out and architecturally. a bunch of obviously dead code in the project - the road to nowhere is like living in a ghost town!
against: but why? if the rudiment does not interfere, then the holy principle: if it works, don't touch it!
4) They want to give *.habrahabr.ru subdomains to companies for corporate blogs (somehow more impressive), and users are simply moved to /users/username/.
Pros: It's very possible. Marketing is completely illogical when a “company” has some kind of “home page” /companies/thecompany/ and a “user” gets a whole “domain”.
cons: and companies don't care, each of them has its own corporate website.
5) They want to give subdomains *.habrahabr.ru for thematic blogs. Each topic has its own subdomain.
Pros: Yes, it makes sense! more logical than for users!
against: what's the point?
6) Load distribution by increasing the number of serving servers.
pro: if certain user data was associated with certain servers, then it is logical.
against: it's still not clear, if the request goes through rewrite, then it doesn't matter what the domain is, what the piece of the path is.
7) Users began to abuse PR subdomains username.habrahabr.ru.
for: and what, *.habrahabr.ru - it is possible to try as a tool for promotion.
against: "small-caliber" too. pulls on material for news on the first of April.
8) Rolling out some fundamentally new feature, where the subdomain will only interfere.
for: it is not known what kind of chip it is, maybe subdomains and it will greatly interfere!
against: but it is not known what kind of chip it is, maybe subdomains will not interfere;)
9) Habr is going to roll out a bunch of Habr services at once. A logical assumption, if HabraStorage is just the beginning, and HabraBlackjack is already planned tomorrow.
for: habrastorage.habrahabr.ru for Habrastorage is more correct than the constant risk of “phishing bathers” like ha6past0rage.ru. Yes, and it's easier with one authorization cookie in one domain.
against: well, if some project provides for "such a close integration with habr", then why not habrahabr.ru/projectname/?

S
Sergey, 2011-09-02
@butteff

Maybe it has to do with SEO.
username.habrahabr.ru and habrhabr.ru are two different sites in the eyes of search engines, because of this, the results are ranked incorrectly, the puzomers grow badly, etc.
I will even say more, a domain with www and without www are two different sites.
Therefore, you must ALWAYS write a 301 redirect in .htaccess
. This is done like this:
#Redirect 301 / www.site.ru
RewriteEngine On
RewriteCond %{HTTP_HOST} ^site.ru
RewriteRule (.*) www.site/$1 [R=301,L]

A
Anatoly, 2011-09-02
@taliban

[email protected] - write, ask, get answers.

S
sskalmykov, 2011-09-02
@sskalmykov

Hmm, does this seem to happen? Was it different the other day? By the way, there was no sense from subdomains. My opinion is that this is correct.
ps Bgg. but now links to your own site in PS have more weight :-D

I
Ilya Plotnikov, 2011-09-02
@ilyaplot

I noticed that you could use your subdomain to promote your sites by posting links on your page. Habr's subdomain due to links is quickly gaining puzomerki. Too bad it's closed.

N
NiGP, 2011-09-02
@NiGP

The answer may be useful to developers, why they abandoned virtual subdomains. Load or just a decision to change something.

A
atomlib, 2011-09-02
@atomlib

Note that the old system is still functional and does not redirect anywhere.

B
black_crown, 2011-10-18
@black_crown

10) Habr, probably, firstly, is preparing to transfer the code to Ajax, and secondly, there will be no problem in user scripts with access to the 3rd level domain via Ajax.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question