-1
我正在部署在heroku上的rails应用程序。我已经在我的application.html.erb文件的head标签内放置了一个meta标签,但它尚未在Google上更改。我已经等了5天了。谷歌仍然显示从我的主页上取得的文字。元标记不在谷歌上更新
还有两个其他的meta标签似乎是自动生成的,如下面的页面源摘录所示(即csrf-param和csrf-token)。这些会影响Google上的元描述吗?
下面是相关文件的摘录:
在application.html.erb标签的摘录:
<title><%= full_title(yield(:title)) %></title>
<%= stylesheet_link_tag "application", media: "all" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
<%= render 'layouts/shim' %>
<meta name="App Name" content="App description.">
sitemap.xml的
<lastmod>2013-08-12T18:29:06+00:00</lastmod>
<changefreq>daily</changefreq>
的摘录谷歌浏览器页面源摘录:
<html>
<head>
<title>App Name</title>
<link href="/assets/application-f915aa342a5dbd5b43771fda8cc.css" media="all" rel="stylesheet" type="text/css" />
<script src="/assets/application-6f2b9741258790f721edcb490ef.js" type="text/javascript"></script>
<meta content="authenticity_token" name="csrf-param" />
<meta content="DCzmx+4h+r3wNv5sMTwS7U5X7u/RizzttU4U9+23DgY=" name="csrf-token" />
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<meta name="App Name" content="App description.">
</head>
这个问题看似已关闭 - 因为它是关于搜索引擎优化 –