元标签在同一行
我正在使用 Zend Framework 来创建网站。 在我的布局中,我
<?php
echo $this->headTitle('Zend Framework');
$this->headMeta()->appendName('keywords', 'framework php productivity');
$this->headMeta()->appendName('description', 'some description');
echo $this->headMeta();
?>
在源代码中编写元标题和元关键字成为同一行。
<title>Zend Framework</title> <meta name="keywords" content="framework php productivity" />
<meta name="description" content="some description" />
这对搜索优化真的很重要吗?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
事实并非如此。你可以不管它。
但如果你想有一个新的行字符,你可以使用:
It does not. You can leave it alone.
But if you want to have a new line character, you can use:
不,标签在同一行并不重要,搜索引擎会识别
标签,它不关心新行等。只要标签正确打开()并结束(
/>
),什么是中间的格式正确,搜索引擎会接受它。搜索引擎仍然会读取元标记,但不像以前那么重要。
您为帮助搜索引擎做的事情越多越好,但越来越多地与网站本身的内容有关。
No it won't matter the tags are on the same line, the search engines will recognize the
<meta...../>
tags, it doesn't care about new lines etc. as long as the tag opens (<meta
) correctly and ends (/>
) and what is in the middle is correctly formatted the search engines will be OK with it.Meta tags are still read by search engines, but are not as important as they used to be.
The more you do to help the search engines the better, but more and more its about the content of the site itself.
请把 Meta A1 移到另一个位置
目前,它与我们为另一个配置文件写入名称的同一行
所以meta a1会回应“哦,我帮不了你”
我没有达到想要的个人资料
Plz shift the Meta A1 to another spot
At the moment its on the same line where we write a name for another profile
So meta a1 will respond " oh I can't help you "
And I don't reach the wanted profile