我跳转方式是
<welcome-file-list>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>default.html里直接 <script type="text/javascript">
window.location.href="login!sel.action";
</script>对SEO有没影响?struts2貌似只能这么跳。
怎么做才能把SEO做好呢?
<welcome-file-list>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>default.html里直接 <script type="text/javascript">
window.location.href="login!sel.action";
</script>对SEO有没影响?struts2貌似只能这么跳。
怎么做才能把SEO做好呢?
这是什么啊 这么写不对吧 怎么还整个感叹号
把如下代码加入<head>区域中<meta http-equiv="refresh" content="1;url=<%=request.getContextPath()%>/login!sel.action">注:content="1 是时间控制,表示1秒后自动跳转到要跳转的页面.
content="0 表示打开该页后立即跳转到你要跳转的页面.
url=index.jsp 是要跳转的页面
这里列出了一些要素,http://seoer.javaeye.com/blog/317532