开发者

URL name vs indexing

I found out that google will only index the top level URL from my site but i have a blog in my site as well that i want it to be listed in blog directories.

so my question is:

since i name the blog under www.mydomain.com/blog.html it is certain that google will only take www.mydomain.com in to consideartion.

so what if i name my blog such a way: www.blog.mydomain.com? would this be consider as another entity? if so how do i name it such way?

P/s: My blog and Site both has different content of the same topic and i want them to be listed in both web and blo开发者_Python百科g directories.


You can use the Canoical Meta tag: http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html

For example: on your blog (in both places), add the meta tag: <link rel="canonical" href="http://blog.example.com/" />

It applies for static, and dynamic pages.


Subfolders have preference over subdomains.

So http://www.domain.com/blog is better for your SEO than http://blog.domain.com

The reason for this is that a subdomain is a completely different website in the eyes of Google, but a subfolder is an extension of the main website.

Therefor the subfolder will benefit from links pointing to the main website and the main website will also benefit from links pointing to the subfolder.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜