深圳網站優(yōu)化-深圳建站公司-網址URL規(guī)范化

2022-06-16    分類: 建站公司

                                        網址URL規(guī)范化


url 網址規(guī)范化指的是當出現(xiàn)了有大于一個的鏈接指向含有相同內容的網頁時,通過各種方法讓搜索引擎只挑選其中

一個最喜歡的的網址,同時告訴搜索引擎不收錄和索引其他網址的過程,從搜索引擎的角度上說,url 規(guī)范化減少了

對一個網站的重復頁面的索引。網站重復頁面問題也是搜索引擎優(yōu)化(SEO)中很多人關注的一部分。url 網址規(guī)范化是

一個將url進行標準化的過程,創(chuàng)新互聯(lián)建議指定url范式。

一、  頂級域名網址url, 指定www和不帶www 中的一個。

二、給重復頁面指定 url范式。

三、 設置robots.txt文件,阻止那些不希望被搜索引擎檢索的網址目錄,url格式。

四、 301 重定向

301重定向是將某一頁面永久重定向至另外一頁面。301轉向也是SEO 廣泛使用的一種對搜索引擎最為友好的轉向方法

之一。搜索引擎將收錄永久重定向到的那個頁面,自然也解決了 url 網址規(guī)范化問題。

典型的比如在linux系統(tǒng)apache服務器下, 可以通過修改.htaccess文件來實現(xiàn)301重定向。在.htaccess 文件中加入

以下代碼,該代碼要寫在url rewrite 重寫規(guī)則的前面。

redirect 301 /old.htm http://www.domain.com/new.htm
redirect permanent /old.htm http://www.domain.com/new.htm
如果是所有的domain.com 都要301永久重定向到 www.domain.com 則還要進行mod_rewrite。

RewriteEngine on
RewriteCond %{http_host} ^www.dom.com [NC]
RewriteRule ^(.*)$ http://dom.com/$1 [L,R=301]
其他windows主機等 可以通過php,asp,jsp 動態(tài)腳本實現(xiàn)。

URL standardization-----深圳網站優(yōu)化,深圳建站公司,網址URL規(guī)范化,深圳做網站,深圳網站設計深圳網站制作

URL網址規(guī)范化指的是當出現(xiàn)了有大于一個的鏈接指向含有相同內容的網頁時,通過各種方法讓搜索引擎只挑選其中

URL canonicalization refers to when there is more than one links to contain the same content Webpage, through various methods to let search engine only pick one

一個最喜歡的的網址,同時告訴搜索引擎不收錄和索引其他網址的過程,從搜索引擎的角度上說,url 規(guī)范化減少了

One of the most like the web site, at the same time tell search engines not included and other site index, search engine from the point of view, URL standardization reduces

對一個網站的重復頁面的索引。網站重復頁面問題也是搜索引擎優(yōu)化(SEO)中很多人關注的一部分。url 網址規(guī)范化是

Repeat the page on a site index. Web page is also repeated search engine optimization (SEO) part of attention of many people. URL canonicalization is

一個將url進行標準化的過程,Google 中文官方博客 建議我們指定 url范式。

An URL standard process, Google Chinese official blog suggestions we specify URL paradigm.

一、 頂級域名網址url, 指定www和不帶www 中的一個。

A top-level domain name, website URL, designated WWW and without a www.

二、給重復頁面指定 url范式。

Two, to repeat the page to specify the URL paradigm.

三、 設置robots.txt文件,阻止那些不希望被搜索引擎檢索的網址目錄,url格式。

Three, set the robots.txt file, to stop the people who don't want to be search engine web directory, URL format.

四、 301 重定向

Four, a 301 redirect

301重定向是將某一頁面永久重定向至另外一頁面。301轉向也是SEO 廣泛使用的一種對搜索引擎最為友好的轉向方法

301 redirect is a page permanent redirect to another page. 301 to SEO is the widely used a search engine friendly for steering method

之一。搜索引擎將收錄永久重定向到的那個頁面,自然也解決了 url 網址規(guī)范化問題。

One of. The search engine will be the permanent redirect to the page, nature also solved URL canonicalization problems.

典型的比如在linux系統(tǒng)apache服務器下, 可以通過修改.htaccess文件來實現(xiàn)301重定向。在.htaccess 文件中加入

A typical Linux system such as the Apache server, you can modify the.Htaccess file to achieve a 301 redirect. Join in the.Htaccess file

以下代碼,該代碼要寫在url rewrite 重寫規(guī)則的前面。

The following code, in front of the code you need to write in the URL Rewrite rewrite rules.

redirect 301 /old.htm http://www.domain.com/new.htm 或

Redirect 301 /old.htm http://www.domain.com/new.htm or

redirect permanent /old.htm http://www.domain.com/new.htm

Redirect permanent /old.htm http://www.domain.com/new.htm

如果是所有的domain.com 都要301永久重定向到 www.domain.com 則還要進行mod_rewrite。

If all the domain.com will be 301 permanent redirect to www.domain.com and mod_rewrite.

RewriteEngine on

RewriteEngine on

RewriteCond %{http_host} ^www.dom.com [NC]

RewriteCond%{http_host} ^www.dom.com [NC]

RewriteRule ^(.*)$ http://dom.com/$1 [L,R=301]

RewriteRule ^ (. *) $http://dom.com/$1 [L, R=301]

其他windows主機等 可以通過php,asp,jsp 動態(tài)腳本實現(xiàn)。

Other windows host can be PHP, ASP, JSP dynamic script.

網站名稱:深圳網站優(yōu)化-深圳建站公司-網址URL規(guī)范化
分享網址:http://www.bm7419.com/news/168036.html

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

廣告

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

網站優(yōu)化排名