我在经营一个Wordpress网站,并在网站上贴上标签,这是SEO的良好做法。
但是,这需要很多空间,我想没有多少人会真正找到任何使用标签的东西。我想对于SEO来说,比如谷歌为它们索引,或者类似的东西。
问题在于我如何能隐藏内容, 阻止它被显示在屏幕上, 而不是在源代码上, 而不是在源代码上, 而不是占用空间, 这意味着我可以利用空间显示其它东西, 但源代码中仍然存在标签 。
谢谢 谢谢
我在经营一个Wordpress网站,并在网站上贴上标签,这是SEO的良好做法。
但是,这需要很多空间,我想没有多少人会真正找到任何使用标签的东西。我想对于SEO来说,比如谷歌为它们索引,或者类似的东西。
问题在于我如何能隐藏内容, 阻止它被显示在屏幕上, 而不是在源代码上, 而不是在源代码上, 而不是占用空间, 这意味着我可以利用空间显示其它东西, 但源代码中仍然存在标签 。
谢谢 谢谢
只需使用 < code> display: 在您想要隐藏的内容上没有 < / code>, 它不会保留空间, 隐藏您的信息, 而且您仍然可以在源代码中看到 : ) 。
作为display: non
的替代方法,我建议使用 HTML 元标记,这些标记总是在搜索引擎中获得我的页面上好的索引。元描述标记和元关键字标记特别有用。所有的元标记在页面上是看不见的,但顺便提一下,它们出现在源代码中。
Here s an introduction to HTML geared towards Wordpress users: http://om4.com.au/client/html-for-bloggers/
以下是您应该使用的基本元标记 :
<meta name="description" content="Free Web tutorials" />
<meta name="keywords" content="HTML,CSS,XML,JavaScript" />
<meta name="author" content="Hege Refsnes" />
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
您只需在网页上添加这些内容,然后将内容修改为符合您的网站。
有关元标记的更多信息:
编辑 :
现在,您不能只隐藏纯为 SEO 所保存的内容, 因为谷歌会降低您的网站搜索排名。 相反, 请确保您的网站上有良好的内容, 并大量使用图像 < code> alt code> 属性等属性 。
有关SEO 的隐藏文本或链接的Google的片段: https://support.google.com/webmasters/smedition/66353
Hiding text or links in your content to manipulate Google’s search rankings can be seen as deceptive and is a violation of Google’s Webmaster Guidelines. Text (such as excessive keywords) can be hidden in several ways, including:
- Using white text on a white background Locating text behind an image
- Using CSS to position text off-screen Setting the font size to 0
- Hiding a link by only linking one small character—for example, a hyphen in the middle of a paragraph
我所做的,就是,我为SEO展示了最佳的页面,直到我感觉到用户互动(移动、鼠标向下,等等),然后花哨的东西、文字图形和缓慢的图形开始加载。我认为大多数搜索引擎都会忽略显示:无。
I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....
I have a div <div id="masterdiv"> which has several child <div>s. Example: <div id="masterdiv"> <div id="childdiv1" /> <div id="childdiv2" /> <div id="...
I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...
<form><input type="file" name="first" onchange="jsFunction(2);"> <input type="file" name="second" onchange="jsFunction(3);"</form> Possible to pass just numbers to the js ...
So I ve got a menu with a hover/selected state and it loads fine in IE6/IE7. However when I scroll down the page and put the element outside of the viewport and then back in I get a broken image! I ...
I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...
Is it possible to reload a form after file-input change? I have a form where the user can chose an image for upload. I also have a php script which displays that image resized. I only wonder if it ...
I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!