锚标记中的URL无法正常工作

时间:2014-01-02 17:05:42

标签: url anchor shared-hosting

我在一个共享主机帐户上托管了2个域名。 我们假设我有2个域xyz.com和abc.com

abc.com的内容放在public_html/abc.com目录中。

在我的域名abc.com的index.php中。 在public_html/abc.com/index.php

我正在使用锚标记。

<a title=”Author: pqr on Google+” href=”https://plus.google.com/u/0/01010101010?rel=author” target=”_blank” rel=”author”>Click here</a>

但是当我点击&#34;点击这里&#34;我被重定向到www.abc.com/https://plus.google.com/u/0/01010101010?rel=author

如何从www.abc.com

中删除www.abc.com/https://plus.google.com/u/0/01010101010?rel=author

1 个答案:

答案 0 :(得分:1)

单引号效果很好。

 <a title='Author: pqr on Google+' href='https://plus.google.com/u/0/01010101010?rel=author' target='_blank' rel='author'>Click here</a>