深圳网站建设
深圳市方与圆网络科技有限公司是一家专注于高品质网站建设、网站设计、网站制作和优化推广的互联网应用服务公司
首页 > 公司新闻 > 深圳网站优化-深圳建站公司-网址URL规范化
Company News 公司新闻
深圳网站优化-深圳建站公司-网址URL规范化
发布时间:2014-4-12 1:53:00  |  浏览次数:  |   来源:深圳网站优化,深圳做网站,深圳网站设计

 

                                                                        网址URL规范化

 

url 网址规范化指的是当出现了有大于一个的链接指向含有相同内容的网页时,通过各种方法让搜索引擎只挑选其中

一个最喜欢的的网址,同时告诉搜索引擎不收录和索引其他网址的过程,从搜索引擎的角度上说,url 规范化减少了

对一个网站的重复页面的索引。网站重复页面问题也是搜索引擎优化(SEO)中很多人关注的一部分。url 网址规范化是

一个将url进行标准化的过程,方与圆网络建议指定url范式。

一、  顶级域名网址url, 指定www和不带www 中的一个。

二、给重复页面指定 url范式。

三、 设置robots.txt文件,阻止那些不希望被搜索引擎检索的网址目录,url格式。

四、 301 重定向

301重定向是将某一页面永久重定向至另外一页面。301转向也是SEO 广泛使用的一种对搜索引擎最为友好的转向方法

之一。搜索引擎将收录永久重定向到的那个页面,自然也解决了 url 网址规范化问题。

典型的比如在linux系统apache服务器下, 可以通过修改.htaccess文件来实现301重定向。在.htaccess 文件中加入

以下代码,该代码要写在url rewrite 重写规则的前面。

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 动态脚本实现。

URL standardization-----深圳网站优化深圳建站公司,网址URL规范化,深圳做网站深圳网站设计深圳网站制作

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

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

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

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

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

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

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

Four, a 301 redirect

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

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

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

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 or

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

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

RewriteEngine on

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

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

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

 

咨询热线:0755-21053063   18926503767   E-MAIL:sales@szfyweb.com
地址:深圳市龙华新区龙华街道东环一路南方明珠B座5楼   网址:www.szfyweb.com
版权所有 © 2013-2020 深圳市方与圆网络科技有限公司 粤ICP备14006986号    
在线留言  |  点击这里给我发消息