什么是一些好的用户名/虚荣网址规则?

时间:2011-09-05 02:50:16

标签: url dns naming-conventions username vanity-url

这不是关于“如何”以及“如何最好”。

我理解大多数带有虚荣网址的网站都有基本规则:

  • > 4个字符(包含一堆有用的标记,如“博客”和“工作”,还有一长串“4个字母的单词”)
  • 以alpha
  • 开头
  • 仅限字母数字(也许._-,但user.name与用户名相同)
  • 禁止保留字以防止滥用并避免混淆(例如:联系人,关于,用户名,虚荣,[其他人是什么?])

添加虚荣网址的网站还需要考虑哪些其他规则?

为防止混淆或滥用,应该保留哪些常用词?

2 个答案:

答案 0 :(得分:2)

我将开始发布到目前为止我发现的内容。

设置字符数限制> 4个字符

必须至少包含一个alpha [a-z]

可选的特殊字符:._-

  • 特殊字符不应计入不同的令牌(即user.name = username
  • 也不应同时使用特殊字符(例如user..name
  • 特殊字符不应该开始或结束令牌(例如-user-name-.username-
  • 更新: Facebook和Twitter也不允许破折号。考虑排除。
  • Gmail只允许使用点。

通过阻止类似字符来避免字符混淆 l,1o0

  • 例如,如果注册了colbert,则阻止co1bertc01bert也被注册

<强>不区分大小写的

保留字词列表

about, aboutus, account, accounts, add, admin, administer, administrator, admins, ajax, anon, anonymous, apache, api, app, apps, archive, archives, article, articles, auth, authenticate, authentication, author, backup, better, blog, blogger, cache, careers, cart, changelog, checkout, client, clients, codereview, compare, config, configuration, connect, contact, contactus, contributor, cpanel, create, css, daemon, data, database, deal, deals, delete, director, direct_messages, docs, documentation, download, downloads, edit, editor, email, emailus, employment, enterprise, explore, facebook, faq, faqs, favorites, feed, feeds, fleet, fleets, follow, followers, following, font, fonts, forum, forums, friend, friends, friending, ftpuser, games, gist, group, groups, guest, help, home, host, hosting, hostmaster, http, httpd, idea, ideas, image, images, include, includes, index, indexes, info, invitation, invitations, invite, is, it, job, jobs, json, lib, library, list, lists, login, logout, logs, mail, map, maps, master, mine, mis, misc, miscellaneous, moderate, moderator, module, modules, mysql, news, nobody, node, nodes, oauth, oauth_clients, offers, office, openid, operate, operator, oracle, order, orders, organizations, owner, password, passwords, plans, poll, polls, popular, post, postgres, postmaster, president, privacy, profile, profiles, projects, public, put, pwnd, pwned, pwnage, question, questions, qwerty, rdf, recruit, recruiter, recruiters, recruitment, register, registrar, registration, remove, replies, root, rss, sales, save, save, script, scripts, search, security, server, service, sessions, settings, shell, shop, signup, signout, sitemap, spam, ssl, ssladmin, ssladministrator, sslwebmaster, stat, stats, statistics, status, stories, student, styleguide, subscribe, support, supporter, survey, surveys, sysadmin, template, templates, terms, test, tester, testing, tests, testuser, theme, themes, tour, tomcat, translations, trends, tutorial, tutorials, twitter, twittr, unfollow, unsubscribe, url, update, upload, uploads, user, users, video, videos, weather, webadmin, webmaster, widget, widgets, wiki, www, wwww, xfn, xmpp, yml, yaml

答案 1 :(得分:0)

在谈论虚荣URL时,请记住两件事。如果您要提供面向产品的网站,请在URL中优化产品名称。或者,如果您的网站与社交网络类似,则在深层链接中优化用户名,社区名称或组名称。

http://hioxindia.com/checkAvailability.php