網(wǎng)站建設(shè)中URL的處理

2023-01-06    分類: 網(wǎng)站建設(shè)

關(guān)于URL結(jié)構(gòu)一般分為兩個部分,一個是物理結(jié)構(gòu),一個是邏輯結(jié)構(gòu)。在物理結(jié)構(gòu)包括扁平結(jié)構(gòu)和樹型結(jié)構(gòu)。扁平結(jié)構(gòu)就是網(wǎng)站中所有的頁面都是在根目錄這一級別,形成一個扁平的物理結(jié)構(gòu)。這比較適合于小型的網(wǎng)站,因為如果太多文件都放在根目錄下的話,制作和維護(hù)起來比較麻煩。
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.
而樹型結(jié)構(gòu)的意義是在一級目錄下分為多個頻道或者稱支為目錄,然后目錄下面再放上屬于這個頻道的頁面,首頁、頻道首頁、頻道下的內(nèi)容就好比樹干、樹枝、樹葉的關(guān)系。邏輯結(jié)構(gòu)就是由網(wǎng)頁內(nèi)部鏈接所形成的邏輯的或鏈接的網(wǎng)絡(luò)圖。比較好的情況是邏輯結(jié)構(gòu)與前面的樹型物理結(jié)構(gòu)相吻合。以下是從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!
而通過第一層鏈接才能到達(dá)的鏈接就是第二層的鏈接,以此類推。有很多SEOer以為URL的長與短就是URL的層次,其實不是的,以上的理念已經(jīng)告訴我們,一個網(wǎng)站的目錄深淺并不是看URL的長與短,而是從你網(wǎng)站的第一口進(jìn)去,然后要經(jīng)過幾個口才能到達(dá)網(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)站設(shè)計在選取一個URL地址時,就會考慮這個網(wǎng)站的意義性,長與短,基本性的考慮完了后,就是URL靜態(tài)化問題了,這是大家比較關(guān)心的一個方面。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的長與短,好記與不好記,有意義與無意義,都關(guān)系到了一個網(wǎng)站的命理。網(wǎng)站管理員注重URL的意義性,而用戶注重的是URL的好記性,那么而且對于搜索引擎來說,URL就是一個通道,這個道口的通與不通是判斷一個網(wǎng)站好與不好的一個首要標(biāo)準(zhǔn)。
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)勢。中國人都喜歡記一些人含義的東西,不管是一件事物還是一個人,所以抓住用戶心理與瀏覽習(xí)慣上去做網(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個關(guān)鍵詞,如果超過5個關(guān)鍵詞,該url的權(quán)重就會被相應(yīng)的降低。其次,在URL中盡量不要出現(xiàn)重復(fù)。最后,切忌在命名的時候用.exe之類的后綴作為URL的結(jié)尾.
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)站建設(shè)公司創(chuàng)新互聯(lián)http://www.muchs.cn/

本文名稱:網(wǎng)站建設(shè)中URL的處理
文章位置:http://www.muchs.cn/news45/228845.html

網(wǎng)站建設(shè)、網(wǎng)絡(luò)推廣公司-創(chuàng)新互聯(lián),是專注品牌與效果的網(wǎng)站制作,網(wǎng)絡(luò)營銷seo公司;服務(wù)項目有網(wǎng)站建設(shè)

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

成都定制網(wǎng)站建設(shè)