搜索引擎优化和每个 html 页面多个子域

发布于 2024-07-28 22:51:40 字数 1433 浏览 2 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

じ违心 2024-08-04 22:51:40

如果您只是使用子域来获取图像,那么您实际上无需担心。 这并不是说您试图对关键字的图像进行排名,而是对这些图像所在的页面进行排名。

也许有一个很好的轶事可以解释为什么这与 SEO 正交,例如,您可以从 Google 代码中获取页面上 jQuery API 的链接,而不会损失任何 PageRank。 事实上,Google 托管该 API 是为了提高速度。 如果您正在做一些简单的事情来优化 DOM 结构中对象的加载,那么就搜索优化而言,无需担心。

您最好不要担心 H1、H2、标题、元描述、元关键字,并拥有真正有用的内容,其中包括您要优化的关键字。 除此之外,外部和内部的关键字导向页面链接也能有所帮助。 大多数其他事情的影响是相当有争议的。

If you're just using the subdomain to source images, there's really nothing you should be worrying about. It's not as though you're trying to rank images for keywords, but rather the pages those images happen to be on.

Maybe a good anecdote to explain why this is orthagonal to SEO is the fact that you can, for instance, source a link to the jQuery API on your page from Google Code without expecting any loss of PageRank. In fact, Google hosts that API in order to make it faster. If you're doing something to simply optimize the loading of objects within the DOM structure, then there's little to worry about as far as search optimization goes.

You're much better off worrying about H1, H2, title, meta description, meta keywords, and having really useful content that include the keywords you're trying to optimize for. Other than that, keyword-directed links to the page both externally and internally can help. The impact of most other things is fairly debatable.

暮倦 2024-08-04 22:51:40

如果您希望在 Google 图片和类似搜索引擎中托管的图像获得不错的排名,那么电子咨询技巧就很重要。

基本上,子域上的任何内容的排名实际上都会低于主域上的内容(如果您在两个 http://www.example.comhttp://example.com > 例如,尽管通常您会与自己竞争),因为您将离开核心站点并前往其他地方。

当然,在单独的域上托管 CSS、图像等内容将有助于提高性能,因为大多数浏览器将自己限制为与任何一个域的同时连接数为 2-4 个。

The e-consultancy tip is important if you're after decent ranking for the images you're hosting in Google Images and similar search engines.

Basically, any content on a sub-domain will effectively be at a lower rank than the content on the main domain (this is also the case if you respond on both http://www.example.com and http://example.com for example, although generally you'll then be competing against yourself), because you are leaving the core site and going elsewhere.

Certainly hosting things like CSS, Images etc on a seperate domain will help percieved performance, as most browsers limit themselves to 2-4 simultaneous connections to any one domain.

遗忘曾经 2024-08-04 22:51:40

嗯,就我而言,使用 CDN 不应该影响 SEO,尤其是当我们谈论图像时。

图像的内容无法被“调查”,因此它是无关紧要的。 爬虫真正关心的唯一事情是标题和 alt 标签,所以要小心它们。

只要你的页面是语义的,谷歌和其他人就不会太关心图像。 使用 CDN 是有好处的,所以就用吧。

当然,如果你想让你的图片在搜索引擎上排名更高,那就是一个全新的故事了。

Well, as far as I'm concerned, using CDN shouldn't effect SEO, especially when we're talking about images.

Content of the image can't be 'investigated', so it is irrelevant. The only thing crawlers really care about are title and alt tags, so be careful with them.

As long as your pages are semantic, Google and others won't even care that much about images. Using CDN is only good, so go for it.

Of course, if you want your images to be higher at search engines, this is a whole new story.

赴月观长安 2024-08-04 22:51:40

Steve Souders 的这篇博文 建议分片跨 2-4 个域的页面请求可能会带来性能优势。

This blog post from Steve Souders suggests that sharding your page's requests across 2-4 domains can be a performance benefit.

天涯沦落人 2024-08-04 22:51:40

确实,通过在免费 cookie 域上加载图像、Javascript、CSS有助于提高性能(至少对于浏览器而言)。

现在谈论这是否会影响您的主网站的 SEO、内容,那么我怀疑这是否会真正影响它。 但是,如果您问您的图像是否会因此而排名较低,那就是另一回事了。

当人们使用 Google 图片搜索时,这些图片的排名可能会稍低,但这不会产生太大影响。

根据我的经验,我使用两个子域来加载网站的不同部分,并且没有遇到任何问题。 事实上,速度的提高是显而易见的,而且确实值得。

It's true that by loading the images, Javascript, CSS on a free-cookie domain WILL help the performance (at least for the browser).

Now talking if this will affect the SEO of your main site, the content, then I doubt that'll really affect it. However if you're asking if your images will rank lower because of that, that's another story.

The images will probably rank a little lower when people use Google Image Search but that shouldn't really affect too much.

In MY experience, I use two sub-domains for loading different part of the site and I've had no problem with it. Actually the speed improvement was noticeable and it was really worth it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文