- iOS/Objective-C 元类和类别
- objective-c - -1001 错误,当 NSURLSession 通过 httpproxy 和/etc/hosts
- java - 使用网络类获取 url 地址
- ios - 推送通知中不播放声音
我正在为一个我还没有建立的网站做一些 SEO,它有这个导航栏:
<div align="right" id="menu">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><div align="center" class="menuitem1" onmouseover="this.className='menuitem1a'" onmouseout="this.className='menuitem1'" onclick="window.location='index.php'" >
<div style="margin-top:80px">Profile</div>
</div></td>
<td><div align="center" class="menuitem2" onmouseover="this.className='menuitem2a'" onmouseout="this.className='menuitem2'" onclick="window.location='customers.php'">
<div style="margin-top:80px">Customers</div>
</div></td>
<td><div align="center" class="menuitem3c">
<div style="margin-top:80px">Services</div>
</div></td>
<td><div align="center" class="menuitem4" onmouseover="this.className='menuitem4a'" onmouseout="this.className='menuitem4'" onclick="window.location='products.php'">
<div style="margin-top:80px">Products</div>
</div></td>
<td><div align="center" class="menuitem5" onmouseover="this.className='menuitem5a'" onmouseout="this.className='menuitem5'" onclick="window.location='contact.php'">
<div style="margin-top:80px">Contact</div>
</div></td>
</tr>
</table>
</div>
我注意到的第一件事是,它没有 anchor !其次,当我制作网站的站点地图时,只有索引页面在那里。编辑:它也会在评估时吐出错误!从 SEO 的角度来看,这会产生负面影响吗?提前致谢!
最佳答案
是的。由于 JS 通常 被抓取工具忽略,它无法访问其余页面,因为导航对其不起作用。您需要将这些 DIV 更改为 anchor 并适本地设置它们的样式以保留旧样式。
此外,此方法也不是很容易访问,因为从页面内容中看不出哪些元素是链接。别管语义
关于html - 导航栏是否对 SEO 不利,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6235368/
以下排序算法对什么样的数据输入有效/无效?快速排序、归并排序、堆排序、插入排序等 我知道至少有 2 个因素会影响排序算法的性能:1) 输入的大小,以及 2) 数据是否已经大部分排序。但我不确切知道这些
我正在为一个我还没有建立的网站做一些 SEO,它有这个导航栏: Profile
关闭。这个问题是off-topic .它目前不接受答案。 想改进这个问题吗? Update the question所以它是on-topic用于堆栈溢出。 关闭 10 年前。 Improve thi
我正在尝试使用 HTML5 中的标签更多地作为容器,因为此标签现在可以将 block 元素作为子元素,例如: 之前(有效的 XHTML 1.1) article title
我有一个重 ajax 的网站。我更新了地址栏中的散列值,以便存储浏览历史 - 因此前进和后退按钮仍然有效。例如,一个典型的用例是: site.com/directory#sports/1 site.c
如果我决定在我的网站中使用一些 javascipt,例如 $('#body').load(URL); 或 $.get(URL, {param:value}, function(){ ... }); 或
我正在我的网站 (wordpress) 上构建一个页面,我正在其中拉入多个帖子类型 people (url: site.com/people/name -of-person) 到名为 people (
我正在处理一个请求,该请求根据页面上项目的“状态”更改页面的 OG 元标记,这可能每隔几天就会更改一次。目标是在用户共享页面时显示与“当前状态”相关的内容,例如“X 正在发生!”而不是正常的“这是 X
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 这个问题似乎与 help center 中定义的范围内的编程无关。 . 关闭 4 年前。 Improve
我在一家将创建网络服务堆栈架构(基于概率论)的企业工作,我是相关技术负责人。该架构将使用 Java 平台创建,但我对一些团队成员有疑问:他们来自 Oracle 的老派(即他们使用 PL/SQL 完成了
我在 fiddler 上注意到 [RequireHttps] 执行状态代码 302 重定向而不是 301。我不确定这有什么意义...... 如果您说的是 Controller [RequireHttp
我是一名优秀的程序员,十分优秀!