關于URL結構一般分為兩個部分,一個是物理結構,一個是邏輯結構。在物理結構包括扁平結構和樹型結構。扁平結構就是網(wǎng)站中所有的頁面都是在根目錄這一級別,形成一個扁平的物理結構。這比較適合于小型的網(wǎng)站,因為如果太多文件都放在根目錄下的話,制作和維護起來比較麻煩。
About URL structure general is divided into two parts, one is the physical structure, one is the logical structure. In the physical structure including flat structure and tree structure. Flat structure is of all the pages are web site is in the root directory this level, form a flat physical structure. It is suitable for small web site, because if too many files in the root directory of words, making and maintenance up more trouble.
而樹型結構的意義是在一級目錄下分為多個頻道或者稱支為目錄,然后目錄下面再放上屬于這個頻道的頁面,首頁、頻道首頁、頻道下的內(nèi)容就好比樹干、樹枝、樹葉的關系。邏輯結構就是由網(wǎng)頁內(nèi)部鏈接所形成的邏輯的或鏈接的網(wǎng)絡圖。比較好的情況是邏輯結構與前面的樹型物理結構相吻合。以下是從
seo角度談網(wǎng)站URL:
And the significance of the tree structure is in a directory divided into a number of channels or say for a directory, and then again below belongs to the directory put this channel page, page, channel, the content of the page channel is trunk, branches, leaves relationship. Logic structure is formed by web page internal links the logic of the network chart or a link. Better is the logical structure and the tree of the front physical structure are identical with each other. The following is from SEO Angle talk about web URL:
一、URL長短問題(The length of the URL problem)
基于用戶體驗來說,我想不管是專業(yè)的SEO還是普通的瀏覽用戶,首先在搜索引擎地址框上輸入一個地址時,必然會考慮這個URL好不好記,如果你的URL太長,那么我估計沒有一個用戶會花時間去記你的網(wǎng)站域名,因為不好記,現(xiàn)在的用戶是不會花時間去記的,而且太長的URL,給人看起來既不美觀,更不方便記憶,也不利于UEO。如果你是短的,那么用戶必然可以輕易記得,簡短好記就很不錯了。
Based on the user experience for, I think whether it is professional SEO or ordinary browsing the user, the first in search engine address on the box enter a address, the inevitable will consider this URL is good to remember that if your URL is too long, so I estimate without a user will take the time to remember your site domain name, because bad record, now of the user is not take the time to remember, and too long URL, give a person looks both neither is beautiful, less convenient memory, also go against UEO. If you are short of, so the user can easily must remember, a brief note very pretty good.
二、URL目錄層問題(URL directory layer of issues)
URL目錄層次問題也是SEOer重點考慮的一個因素,URL層數(shù)是按照距離來計算的,搜索引擎一般會用寬度優(yōu)先搜索的方法來搜集網(wǎng)頁,也就是說,搜索引擎會先搜集網(wǎng)站的首頁,然后看首頁上有哪些鏈接,然后先將這些鏈接抓過一次,再繼續(xù)抓下一層的鏈接。因此,對于搜索引擎來說,在網(wǎng)站首頁上的鏈接就是第一層的鏈接!
URL directory level problem is also SEOer consider mainly a factor, URL layer is calculated according to the distance, search engines usually use width first search methods to collect web page, that is, the search engines will be the first to collect the website homepage, and then see what are the links on the home page, and then to catch these links once, continue to catch the next layer of links. So, for a search engine, it on your home page link is the first layer of the link!
而通過第一層鏈接才能到達的鏈接就是第二層的鏈接,以此類推。有很多SEOer以為URL的長與短就是URL的層次,其實不是的,以上的理念已經(jīng)告訴我們,一個網(wǎng)站的目錄深淺并不是看URL的長與短,而是從你網(wǎng)站的第一口進去,然后要經(jīng)過幾個口才能到達網(wǎng)站的最深處,其中經(jīng)過的口,就是你的目錄層次,一般來說目錄層次最好不要超過3層。
And through the first layer link to get to link is the second link, and so on. Have a lot of SEOer thought long and short URL is the level of URL fact not, above the idea has been told us, a web site directory and not see the depth is long and short URL, but from your website's first bite in, and to go through several mouth to get to the deepest part of the site, including through the mouth of your inventory level is, in general, had better not exceed 3 level directory layer.
三、靜態(tài)化與動態(tài)化問題(Static and dynamic problems)
網(wǎng)站設計在選取一個URL地址時,就會考慮這個網(wǎng)站的意義性,長與短,基本性的考慮完了后,就是URL靜態(tài)化問題了,這是大家比較關心的一個方面。SEO建議就是如果可以的話就用靜態(tài)化的URL,雖然如今搜索引擎對動態(tài)的URL抓取沒以前那么吃力了,但是靜態(tài)的URL可以給搜索引擎與用戶一個直觀與美觀的地址。
Web design in selecting a URL, it will consider this website significance, long and short, fundamental consideration after finished, is static URL problem, this is everybody CARES quite a ways. SEO suggest is that if you can with static URL, although now search engine to dynamic URL grab less so exhausting, but static URL can give search engines and the user an intuitive and beauty of the address.
網(wǎng)站URL是每一個網(wǎng)站管理員與用戶都很注重的,URL的長與短,好記與不好記,有意義與無意義,都關系到了一個網(wǎng)站的命理。網(wǎng)站管理員注重URL的意義性,而用戶注重的是URL的好記性,那么而且對于搜索引擎來說,URL就是一個通道,這個道口的通與不通是判斷一個網(wǎng)站好與不好的一個首要標準。
Web URL is every web site administrator and users are very attention, URL's long and short, easy to remember and not good to remember that has meaning and meaningless, relationship of a web site to ba zhi can. Pay attention to the meaning of the web site administrator URL sex, and users to pay attention to the URL is a good memory, so and for search engines to, URL is a channel, the crossing the tong and not judge a web site is good and bad a primary standards.
URL的長與短是一個考慮的因素,而URL地址有無意義也是一個方便用戶記憶的因素,就比如朱衛(wèi)坤博客),他就是用他名字的全拼來做URL的,這樣只要別人記得朱衛(wèi)坤就一定記得他的URL地址,還有就是58同城,也是用他的品牌來做URL地址的,還有就是百度,等等。
The long and short URL is a consideration of the factors, while URL without meaning is also a convenient user memory of factor, for example ZhuWeiKun blog), he is to use his name to do QuanPin URL, such as long as people remember ZhuWeiKun will remember his URL address, and the city is 58, also be to use his brand to do the URL, there is baidu, and so on.
這些都是方便用戶記憶,而且做SEO時還有一個優(yōu)勢。中國人都喜歡記一些人含義的東西,不管是一件事物還是一個人,所以抓住用戶心理與瀏覽習慣上去做網(wǎng)站URL優(yōu)化,這樣一定會事到功倍!
These are the convenient user memory, and do SEO still has an advantage. Chinese people like to remember some of the implications of things, whether a thing or a person, so take user psychology and browsing habits up do web URL optimization, this will matter to work times!
四、URL處理問題(URL processing problem)
首先,需要注意URL的長度,在URL里最好不要超過3-5個關鍵詞,如果超過5個關鍵詞,該url的權重就會被相應的降低。其次,在URL中盡量不要出現(xiàn)重復。最后,切忌在命名的時候用.exe之類的后綴作為URL的結尾.
First of all, need to pay attention to the length of the URL in the URL had better not exceed 3-5 key words, if more than five key words, the weight of the URL will be corresponding reduced. Second, as far as possible in the URL appears not to repeat. Finally, avoid by all means is in naming use. Exe and suffix as the end of the URL.
本文發(fā)布于北京
網(wǎng)站建設公司商企云http://m.2182725.com/