<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>上海SEO &#187; 相对地址 绝对地址</title>
	<atom:link href="http://www.seoweb-sh.com/tag/%e7%9b%b8%e5%af%b9%e5%9c%b0%e5%9d%80-%e7%bb%9d%e5%af%b9%e5%9c%b0%e5%9d%80/feed" rel="self" type="application/rss+xml" />
	<link>http://www.seoweb-sh.com</link>
	<description>上海SEO顾问专业服务团队,为上海地区公司与企业网站提供优质全方位的网站优化,SEO顾问,SEO培训服务,上海SEO咨询电话:18616593992</description>
	<lastBuildDate>Wed, 21 Dec 2011 08:50:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>相对地址与绝对地址</title>
		<link>http://www.seoweb-sh.com/109.html</link>
		<comments>http://www.seoweb-sh.com/109.html#comments</comments>
		<pubDate>Mon, 27 Oct 2008 04:49:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[上海SEO 基础知识]]></category>
		<category><![CDATA[上海SEO相关]]></category>
		<category><![CDATA[相对地址 绝对地址]]></category>

		<guid isPermaLink="false">http://www.seoweb-sh.com/?p=109</guid>
		<description><![CDATA[绝对地址一般都是以域名或IP的形式开始沿着路径一直写到页面。
如: http://www.seoweb-sh.com/89.html 或 http://222.73.5.137/89.html

当然后者用的比较少，独立主机可以这样写。用绝对路径的好处是，写一篇文章让别人转载，利用瞄文本的方式写上绝对地址。那么你的文章不管转到哪都可以点击你所写文章中的链接来到达你的网站。
举例来简单化说明： 我现在人在上海，我可以问，中国/上海/
南京路步行街怎么走，我也可以直接问南京路步行街怎么走。当然前者是绝对地址，后者是相对地址。两个各有各的好处。
绝对地址的好处：
如果有其他人把域名指向到你的网站ip，那么它的网站上都是你
网站的链接。（如果是采用绝对地址的话是如此）
一些特殊的情况下，采用相对地址时，如果文章被转载，文章中
的链接不会正常访问了。
相对地址的好处：
网站维护、转移、改版等方便。不需要去修改链接。
如何将相对地址与绝对地址转换请点击这里。
上海SEO为您提供优质全方位的SEO优化,网站优化,网站制作服务。
Unique Post]]></description>
			<content:encoded><![CDATA[<p><span class='wp_keywordlink'><a href="http://www.seoweb-sh.com/109.html" title="绝对地址">绝对地址</a></span>一般都是以域名或IP的形式开始沿着路径一直写到页面。</p>
<p>如: http://www.seoweb-sh.com/89.html 或 <a href="http://222.73.5.140/89.html">http://222.73.5.137/89.html</a></p>
<p><span id="more-109"></span></p>
<p>当然后者用的比较少，独立主机可以这样写。用绝对路径的好处是，写一篇文章让别人转载，利用瞄<span class='wp_keywordlink'><a href="http://www.seoweb-sh.com/2057.html" title="文本">文本</a></span>的方式写上绝对地址。那么你的文章不管转到哪都可以点击你所写文章中的链接来到达你的网站。</p>
<p>举例来简单化说明： 我现在人在上海，我可以问，中国/上海/</p>
<p>南京路步行街怎么走，我也可以直接问南京路步行街怎么走。当然前者是绝对地址，后者是<span class='wp_keywordlink'><a href="http://www.seoweb-sh.com/109.html" title="与绝对地址">相对地址</a></span>。两个各有各的好处。</p>
<p>绝对地址的好处：<br />
如果有其他人把域名指向到你的网站ip，那么它的网站上都是你</p>
<p>网站的链接。（如果是采用绝对地址的话是如此）<br />
一些特殊的情况下，采用相对地址时，如果文章被转载，文章中</p>
<p>的链接不会正常访问了。</p>
<p>相对地址的好处：<br />
网站维护、转移、改版等方便。不需要去修改链接。</p>
<p><a href="http://www.seoweb-sh.com/89.html">如何将相对地址与绝对地址转换请点击这里。</a></p>
<p><a href="http://www.seoweb-sh.com">上海SEO</a>为您提供优质全方位的<span class='wp_keywordlink'><a href="http://www.seoweb-sh.com/" title="SEO">SEO</a></span>优化,<span class='wp_keywordlink'><a href="http://www.seoweb-sh.com/" title="网站优化">网站优化</a></span>,<span class='wp_keywordlink'><a href="http://www.seoweb-sh.com/" title="网站制作">网站制作</a></span>服务。</p>
<div class="similarity"><ul><li>Unique Post</li></ul></div><!-- Cat -->]]></content:encoded>
			<wfw:commentRss>http://www.seoweb-sh.com/109.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>相对地址与绝对地址之间的转换</title>
		<link>http://www.seoweb-sh.com/89.html</link>
		<comments>http://www.seoweb-sh.com/89.html#comments</comments>
		<pubDate>Sun, 26 Oct 2008 00:05:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[上海SEO 基础知识]]></category>
		<category><![CDATA[上海SEO相关]]></category>
		<category><![CDATA[相对地址 绝对地址]]></category>

		<guid isPermaLink="false">http://www.seoweb-sh.com/?p=89</guid>
		<description><![CDATA[用网站制作软件 DW  editplus 等软件 打开网页源代码：
查找指向网站首页的链接，一般情况下是如下两种情况：
&#60;a  href=&#8221;index.html&#8221;&#62;首页&#60;/a&#62;或&#60;a  href=&#8221;/&#8221;&#62;首页&#60;/a&#62;
&#60;a  href=&#8221;http://www.seoweb-sh.com/&#8221;&#62;首页&#60;/a&#62;
前者是相对地址，后者是绝对地址。

当我们要把首页链接的相对地址转换为绝对地址时，把&#60;a  href=&#8221;/&#8221;&#62;修改为&#60;a  href=&#8221; http://www.seoweb-sh.com /&#8221;&#62;。
使用绝对地址好处是可以防止被恶意镜像，为了实现URL标准化，把首页的所有或部分主要链接采用绝对地址的形式即可解决。另外301无法实现的网站，首页绝对地址化，也可以一定意义上解决该问题。

在实际操作中，因为网站情况各异，有时无法把首页的所有相对地址都修改，只需修改主要部分 如导航 网站页脚 分类栏目。
了解更多相对地址与绝对地址请点击这里。
Unique Post]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal"><span><span>用<span class='wp_keywordlink'><a href="http://www.seoweb-sh.com/" title="网站制作">网站制作</a></span>软件</span></span><span><span lang="EN-US"> DW<span>  </span>editplus </span></span><span><span>等软件</span></span><span><span> </span></span><span><span>打开网页源代码：</span></span></p>
<p class="MsoNormal"><span><span>查找指向网站首页的链接，一般情况下是如下两种情况：</span></span></p>
<p class="MsoNormal"><span><span lang="EN-US">&lt;a  href=&#8221;index.html&#8221;&gt;</span></span><span><span>首页</span></span><span><span lang="EN-US">&lt;/a&gt;</span></span><span><span>或</span></span><span><span lang="EN-US">&lt;a  href=&#8221;/&#8221;&gt;</span></span><span><span>首页</span></span><span><span lang="EN-US">&lt;/a&gt;</span></span></p>
<p class="MsoNormal"><span><span lang="EN-US">&lt;a  href=&#8221;http://www.seoweb-sh.com/&#8221;&gt;</span></span><span><span>首页</span></span><span><span lang="EN-US">&lt;/a&gt;</span></span></p>
<p class="MsoNormal"><span><span>前者是<a title="相对地址" href="http://www.seoweb-sh.com/109.html" target="_self">相对地址</a>，后者是<a title="绝对地址" href="http://www.seoweb-sh.com/109.html" target="_self">绝对地址</a>。<span id="more-89"></span><br />
</span></span></p>
<p class="MsoNormal"><span><span>当我们要把首页链接的<span class='wp_keywordlink'><a href="http://www.seoweb-sh.com/109.html" title="与绝对地址">相对地址</a></span>转换为<span class='wp_keywordlink'><a href="http://www.seoweb-sh.com/109.html" title="绝对地址">绝对地址</a></span>时，把</span></span><span><span lang="EN-US">&lt;a  href=&#8221;/&#8221;&gt;</span></span><span><span>修改为</span></span><span><span lang="EN-US">&lt;a  href=&#8221; http://www.seoweb-sh.com /&#8221;&gt;</span></span><span><span>。</span></span></p>
<p class="MsoNormal"><span><span>使用绝对地址好处是可以防止被恶意镜像，为了实现</span></span><span><span lang="EN-US">URL</span></span><span><span>标准化，把首页的所有或部分主要链接采用绝对地址的形式即可解决。</span>另外</span><span><span lang="EN-US">301</span></span><span><span>无法实现的网站，首页绝对地址化，也可以一定意义上解决该问题。</span></span></p>
<p class="MsoNormal"><span lang="EN-US"><br />
</span><span><span>在实际操作中，因为网站情况各异，有时无法把首页的所有相对地址都修改，只需修改主要部分</span></span><span><span> </span></span><span><span>如<span class='wp_keywordlink'><a href="http://www.seoweb-sh.com/2083.html" title="导航">导航</a></span></span></span><span><span> </span></span><span><span>网站页脚</span></span><span><span> </span></span><span><span>分类栏目。<br />
<a title="相对地址 绝对地址" href="http://www.seoweb-sh.com/109.html" target="_self">了解更多相对地址与绝对地址请点击这里。</a></span></span></p>
<div class="similarity"><ul><li>Unique Post</li></ul></div><!-- Cat -->]]></content:encoded>
			<wfw:commentRss>http://www.seoweb-sh.com/89.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

