seo

Search Engine Optimization

陌路散爱 提交于 2019-12-24 10:36:02
问题 Sometimes when I search some phrases in google (e.g "My Custom Search Phrase"), I see some very interesting results. Sites that look like: http://www.SomeSite.Com/My_Custom_Search_Phrase/ or: http://www.SomeSite.Com/My_Custom_Search_Phrase.html Actually, I don't like these sites. I know it's a SEO trick and pages are generated on the fly and are full of ads. But I'm very curious to know how this can be achieved programmatically. Preferably in .Net. P.S. By saying "Preferably in .Net" I don't

SEO in Ionic PWA

橙三吉。 提交于 2019-12-24 10:24:11
问题 I just finished building a PWA using Ionic. Now i am stuck in making PWA SEO enabled. Since in ionic there is #(Hash location strategy) enabled in ionic and this results in # in all of the urls which doesn't help at all in SEO. So to remove # I tried setting Path location strategy {locationStrategy: 'path'} in AppModule. This removes the # from the url. But when I try to refresh it or go directly to a url, it returns 'Cannot GET /url' Few things I read for this problem is to rewrite to index

How do search engines recognize search boxes on websites?

[亡魂溺海] 提交于 2019-12-24 09:33:50
问题 I've noticed that a lot of the time when i search something on Google, Google automatically uses the search function of relevant websites and return the result of the website search as if it was just another URL. How do i let Google and other search engines know what is the search box on my own website and does Open Search has anything to do with it? 回答1: do you maybe mean the site search function via the google chrome omnibar? to get there you just need to have a form with method type GET

CSS drop-down menu and SEO

ぃ、小莉子 提交于 2019-12-24 07:52:10
问题 are multi-level CSS drop-down menus a big 'no-no' for SEO purposes. i've read mixed reviews. some say the links in the secondary navigation will not be crawled by search-engine spiders (because they're hidden) while the other say it is part of the HTML, so the spider will 'see' it. any thoughts? thanks 回答1: As long as Google doesn't publish their indexing methods, we will never know for sure. But I very much doubt spiders will ignore links because they are in hidden elements. Text and

How to prevent two links show the same content with .htaccess?

我的梦境 提交于 2019-12-24 07:37:38
问题 I have this case: /css/ <-- a folder /css/something.css <-- a file If the user accesses the folder (/css/), I want that Apache returns the file. If the user tries to access the file directly, (/css/something.css), I want that he be redirected to the folder. How can I do this without getting a loop? I've read a lot but I couldn't figure it out applying two rules, it always returns a loop. Note: this is my first question on Stack Overflow. Thank you in advance. 回答1: Put these in your htaccess

SEO工作者人去和分析核心关键词?

天大地大妈咪最大 提交于 2019-12-24 07:18:57
通常我们在网站未上线之前,可能就需要先做好关键词定位以及关键词分析等工作,为什么要提前呢、因为网站上线之后就意味着搜索引擎蜘蛛随时会抓取你的网页,为了避免后期更改标题以及内容所导致的一些问题。所以,我们还没有开始推广之前,需要先确定好 (TDK)就是标题,关键词,描述等等一些相关的SEO工作细节。今天讲的,SEO工作者可以通过此文章大致了解分析关键词的一些基本思路,仅供新生学习参考。   一、如何分析关键词和核心关键词    1、根据自身的能力选择对应的关键词做SEO   都说你有多大能力你就做多大的事, SEO关键词优化也是如此,如果你是刚学会SEO,你去选择热度在几千的关键词去SEO,那么你肯定做不起来。这种时候选择很重要。    2、选择关键词,了解关键词行业状况。   了解行业的需求情况,通过搜索行业关键词,查看搜索结果前 20名的网站,看看竞争对手的站点关键词设置,是否抓住了用户核心的需求。有句话是这样说的:知己知彼百战百胜嘛。    3、分析行业关键词核心需求   通过搜索数据,可以通过百度指数获得每个关键词的每日搜索量,或其他相关工具数的据,了解用户的核心需求和潜在需求。包括:关键词相关性、关键词搜索量、关键词商业价值。如果你需要更多的行业关键词,可以采用中文版 Google关键字工具。 如您是做 IDC 行业的,那先搜索如:香港服务器、国内云服务器、高防服务器等等

Remove all punctuation from php string for friendly seo url

佐手、 提交于 2019-12-24 07:04:25
问题 So, I've seen a ton of "solutions" on this site, but none of them seem to work fully for me. I would like to strip all punctuation from a post name so that the system can dynamically create urls for each post. I found an article by David Walsh that provides a step by step tutorial on how this can be achieved. However, not everything gets stripped. Here is a link to the article (just in case): http://davidwalsh.name/php-seo. Here's the code I've altered to remove all punctuation: $return =

Review Aggregate Google Rich Snippet - Error with review count

三世轮回 提交于 2019-12-24 06:44:58
问题 I have successfully implemented Google Rich Snippets on my web pages. But when I tried to use review aggregate Snippets, it gives me the below error: "If count is specified in review aggregate, page should contain reviews. Otherwise you may want to use votes" I have got reviews on my page but why Google say something like this. 回答1: I copied the guidelines from Schema.org/AggregateRating and suffered the same error. If you haven't already, try changing itemprop to "ratingCount" instead of

Meta tags in the same line

蹲街弑〆低调 提交于 2019-12-24 06:38:56
问题 I'am using Zend Framework to create web sites. In my layout I write <?php echo $this->headTitle('Zend Framework'); $this->headMeta()->appendName('keywords', 'framework php productivity'); $this->headMeta()->appendName('description', 'some description'); echo $this->headMeta(); ?> In source code meta-title and meta-keywords become in the same line. <title>Zend Framework</title> <meta name="keywords" content="framework php productivity" /> <meta name="description" content="some description" />

problems getting nice browser url using redirect/rewriterule

旧巷老猫 提交于 2019-12-24 04:25:08
问题 Currently I use a .htaccess redirect to send a (nice) url /offices/london/whatever to my script (nasty url) /db/db.pl?offices-london-whatever i want the browser url to be nice, with the 301 redirect it isn't so i tried with the RewriteRule but the browser url is still the nasty one. e.g. RewriteRule Offices/London/(.*)$ /db/db.pl?Offices-London-$1 [NC] it all navigates, i get the pages i want with either method, but i want the nice url not the nasty one for both the user browser and SEO.