If I search the word in Google is "twitter".
Google displays the first result like the below.
Twitter
Twitter is without a doubt the best way to share and discover what is happening right now.
twitter.com/ - Cached - Similar
Search How To Contest Account Suspension
Blog An API
Twitter_logo_header Twitter Status
More results from twitter.com ยป
How can they display Search, blog, Twitter_logo_header, etc.?
These links are called Site Links, and point to highly rated pages on your domain.
Usually these links are created automatically if your site is strong enough for a specific keyword, and you can tweak it a little by blocking pages you don't want to appear there from Google Webmaster Tools (http://google.com/webmasters) under 'Site Configuration', 'Sitelinks'.
More information on this topic available at the following Google help page - http://www.google.com/support/webmasters/bin/answer.py?answer=47334&hl=en
This page explains how search engines like Google work:
http://computer.howstuffworks.com/internet/basics/search-engine.htm
It's something google decides to do on its own. There is no way you can force them to do it with your site. They will do it if they find it appropriate.
Related
Sometimes I see on Google links with my terms searched on Google as parameter. For example, if I search "StrangeWord", I can see in results:
example.com/p=StrangeWord
I'm pretty sure it is generated automatically, how to do it? I'm using PHP with Nginx.
It isn't generated automatically. If that page is in the index, it's because there was a crawlable link to that page - whether intentionally done by the webmaster or not - and Google happened to crawl that link.
Links can get generated by users sharing such a page, bookmarking it, or even linking to it from their own sites / social profiles
I have a wordpress website # www.mutantspace.com and on mobile search google is putting 'mobile friendly' infront of my URLs on keyword searches i.e. 'Ronald Hall Paintings'. However it isnt a mobile friendly website and google is indexing a bizarre URL which only redirects users to the home page and not the website:
On mobile search for 'Ronald Hall Paintings' the url is http://www.mutsntspace.com/#article/64393 (the number refers to post ID)
On desktop search for 'Ronald Hall Paintings' the url is http://www.mutantspace.com/ronald-hall-paintings-re-appropriate-historical-narratives-race/
I use wordpress. This is very strange and i dont know how it fix it...can someone help or advise please.....
thanks
Moray
This just looks like an indexing error on Google's end. Have you updated your sitemap and submitted into google webmasters? That's the fastest way of helping Google crawl your website.
Nice pictures btw! :)
I am planning an informational site on php with mysql.
I have read about google sitemap and webmaster tools.
What i did not understand is will google be able to index dynamic pages of my site using any of these tools.
For example if i have URLs like www.domain.com/articles.php?articleid=103
Obviously this page will be having same title and same meta information always but the content will change according to articleid. So how google will come to know about the article on the page to display in search.
Is there some way that i can get google rankings for these pages
A URL is a URL, Google doesn't give up when it sees a question mark in one (although excessive parameters may get ignored, but you only have one). All you need is a link to a page.
You could alternatively make the url SEO friendly with mod_rewrite www.domain.com/articles/103
RewriteRule ^articles/(.*)$ articles.php?articleid=$1 [L]
I do suggest you give each individual page relevant meta tags no more then 80 chars and dont place the article content within a table tag as googles placement algorithm is strict, random non related links will also do harm to the rank.
You have to link to the page for Google to notice it. And the more links you have the higher up in Google's result list your page will get. A smart thing to do is to find a page where you can link to all of your pages. This way Google will find them and give them a higher ranking than if you only link to them once.
To be more specific let me give an example : If I search a keyword "rankog" on google I get the website rankog.com in the search result, but in the google search results i find some results like (a)www.markosweb.com/www/rankog.com/ and (b)www.tracedomain.com/rankog.com, I know these are some seo tools which give domain information.
My question in 1 line is how such websites (a and b) capture the search terms in their title/url?.
If I want to do the same thing - Capture a search term in google on the title/url of my page how should I do it; say I have 1000 keywords and I want to capture them in my page url, as done in (a) and (b) making 1000 pages is not the solution i guess. How do these website work and capture 1000's of keyword in their url, title?
This is done by parsing the referrer URL. Most browsers will send the prior URL in their header. You can parse this, and figure out what the search terms were.
$_SERVER['HTTP_REFERER'];
http://php.net/manual/en/reserved.variables.server.php
Now, getting your page indexed by Google is a whole 'nother story. You can sniff for their user-agent and dynamically create a bunch of fake pages, but if you do that, everyone will hate you and won't spend much time on your sites anyway.
If you want your site to show up in Google listings, the best way to do that is to have great content that others will link to.
I am building a restaurant review site using php. I wanted to know how to show reviews from other reviews sites. For example check this link to see how google is picking up reviews from other sites. When clicked on, it takes you to their review site.
Any help will be appreciated. Thanks
First, make a list of the sites that you want to pull reviews from. Second, read through those sites and see if they have a developer section and if they expose a public API. If they do, look around to see if they have any client libraries for php which you can use to access their API from your php site. If they do have an API but there are no client libraries available, contribute to the community by creating a client library and sharing it as open source. :)
Also, it may be possible that they have an RSS feed of their reviews that you can consume easily of your site, so check that out too.
You will probably find the other sites have partnered with Google for this, however I would be using cURL to get the information you want.
I would suggest you start here with cURL, then have a look here to extract the portion you're looking for.
Edit: the section of the second link that is relevant is
preg_match_all("/<div>.+<\/div>/", $page, $matches);
print_r($matches);
What this is doing is getting the content you're looking for and then displaying it, you will probably need to define the unique elements with the content you want however, this could mean a separate rule for each website.
I hope this helps for you.
I think google find News, Blog , Reviews and something like that by site map what web administrators introduce to google as sitemap.xml .
To do this you must get page content what you want to fetch it's reviews ( By CURL or something like that to get remote file ) and fetch reviews by regular expression of HTML