seo

Is it good to put HTML5 Microdata on preview blocks?

元气小坏坏 提交于 2019-12-24 03:58:06
问题 Consider this example: <section id="news_block_left" class="block" itemscope="" itemtype="http://schema.org/ItemList"> <a href="http://dev.com/index.php?controller=NewsList" title="News" itemprop="url"> <h2 class="title_block" itemprop="name">News</h2> </a> <div class="block_content"> <ul class="news-list"> <li itemprop="itemListElement" itemscope="" itemtype="http://schema.org/NewsArticle"> <a href="http://dev.com/index.php?id_news=7&controller=News" title="News Title1" itemprop="url"> <span

How to do a specific condition for escaped_fragment with rewrite rule in .htaccess

你。 提交于 2019-12-24 03:53:36
问题 I have urls like that /#!/page1 , I redirect them with : RewriteCond %{QUERY_STRING} ^_escaped_fragment_=%2F(.*)$ RewriteRule ^$ /seo/%1.html [QSA,L] So /#!/page1 read as /_escaped_fragment_=%2Fpage1 is redirected to /seo/page1.html It's work perfectly however I want to redirect the home /#!/ to /seo/index.html which actually redirect to /seo/.html How can I do that? Thanks 回答1: I fixed it with: RewriteCond %{QUERY_STRING} ^_escaped_fragment_=%2F$ RewriteRule ^$ /seo/index.html [QSA,L]

How to do a specific condition for escaped_fragment with rewrite rule in .htaccess

做~自己de王妃 提交于 2019-12-24 03:53:07
问题 I have urls like that /#!/page1 , I redirect them with : RewriteCond %{QUERY_STRING} ^_escaped_fragment_=%2F(.*)$ RewriteRule ^$ /seo/%1.html [QSA,L] So /#!/page1 read as /_escaped_fragment_=%2Fpage1 is redirected to /seo/page1.html It's work perfectly however I want to redirect the home /#!/ to /seo/index.html which actually redirect to /seo/.html How can I do that? Thanks 回答1: I fixed it with: RewriteCond %{QUERY_STRING} ^_escaped_fragment_=%2F$ RewriteRule ^$ /seo/index.html [QSA,L]

How to arrange sitemaps for main site and for blog (in subdomain)

不问归期 提交于 2019-12-24 02:16:28
问题 I've got two websites: the main site and a blog that has posts that relate closely to the content of the main site. The blog is in the subdomain "blog." wwww.example.com blog.example.com Content on the main site doesn't change that often, but content on the blog changes weekly. The blog is just a Wordpress site and capable of generating it's own sitemap. I'm struggling to figure how to arrange the sitemaps. I can think of two options, but I'm not sure what the best one is. Maybe there's a

SEO基本概念:如何进行关键词分析?

最后都变了- 提交于 2019-12-24 02:14:40
关键词怎么确定?从这篇文章,我们可以大体了解选择关键词的基本思路: 选择符合自己实力的关键词 不选择流量太低的关键词 现在我们详细解剖关键词分析的过程: 了解行业概况 行业关键词集合 关键词竞争性分析 关键词发展规划和流量预计 确定目标关键词 了解行业概况 搜索行业主关键词,搜索结果前5页的网站基本上可以说明该行业的概括。比如: SEO 这个关键词排前50名的基本上都是非常专业的站点,而且绝大部分是主域名,域名中包含 SEO 的居多。 你所熟悉的站点,包括这个站点的建站时间、专业性、站点规模、主关键词等。比如对于 SEO 这个关键词,你熟悉 www.seowhy.com 那么它排在哪一个位置? 在行业关键词搜索结果的前10个站点,主要是竞价网站?行业网站?企业网站?还是个人网站?如果竞价网站和行业网站居多,则说明关键词商业价值强;个人网站,该行业大部分采用广告联盟形式,具有创新赢利模式者可以考虑切入;简单企业网站,则说明行业竞争性不强。 从这些方面,你可以大体把握行业概况。同理,你可以了解建材行业、减肥行业、旅游行业、有色金属、滤材行业等。 行业关键词集合 搜索行业主关键词,点击搜索结果第一页底部的更多相关搜索。从这里获得行业关键词的集合,做适当的筛选。 从 百度指数 获得每个关键词的每日搜索量。 如果你需要更多的行业关键词,可以采用中文版 Google关键字工具 。

Can a search engine follow <button> or <input> elements?

杀马特。学长 韩版系。学妹 提交于 2019-12-24 00:47:46
问题 I am considering replacing links with such as: <input type="button" onclick ="window.location.href('http://foo.com')" value="Click me!" /> There was a suggestion that search engines could not follow this kind of link. Does anyone have any knowledge to confirm this. thanks, 回答1: I would say that would be horrible for SEO purposes... A button should submit a form, not take you to a new resource. Bots have limited knowledge of JavaScript. Click me! is terrible link text, unless you want to rank

How can I do a 301 redirect from http to https in Wildfly 8.2?

一世执手 提交于 2019-12-23 23:51:42
问题 My web.xml has the following security constraint: <security-constraint> <web-resource-collection> <web-resource-name>App</web-resource-name> <url-pattern>/*</url-pattern> </web-resource-collection> <user-data-constraint> <transport-guarantee>CONFIDENTIAL</transport-guarantee> </user-data-constraint> </security-constraint> This configuration redirects all http URLs to https via 302 redirects. Is there a way to accomplish the same except via 301 redirects in Wildfly 8.2? 回答1: One way I can

Special Characters in URL

こ雲淡風輕ζ 提交于 2019-12-23 20:03:08
问题 We're currently replacing all special characters and spaces in our URLs with hypens (-). From an SEO and readability point-of-view this works fine. However, in some cases, we are feeding parts of the URL into a search after stripping the hyphens out. The problem occurs when the search term should have hyphens as it returns no results when they get stripped. We could modify the search algorithm we're using but this will slow it down (especially bad as we're using it with an AJAX-ed search box

How effective are unordered lists <ul>s as navigation in terms of SEO, accessibility, etc?

限于喜欢 提交于 2019-12-23 19:49:20
问题 As far as SEO and accessibility are concerned, are <ul> s a good approach towards building simple navigation menus? As point of reference, I try to test all of my sites through Lynx, just to help ensure accessibility, and <ul> s seem to be the most sufficient in terms of their display in Lynx, but can this really be used as a good rule-of-thumb for SEO? 回答1: Most CSS navigation menus are built as unordered lists -- even horizontal nav bars are generally just unordered lists with the bullets

Google is ignoring my robots.txt [closed]

不羁岁月 提交于 2019-12-23 19:24:01
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . Here is content of my robots.txt file: User-agent: * Disallow: /images/ Disallow: /upload/ Disallow: /admin/ As you can see, I explicitly disallowed all robots to index the folders images , upload and admin . The problem is that one of my clients sent request for removing the content from the images folder