I want to search from Google.com about some information from particular sites. for example
I want to search php from only w3school.com and php.net. I can use site:w3school.com php
but how can i use two websites
You can use or with the site option
Hyperlink: Stack Overflow Similar Response
Related
Is there an option in Bing Search to get search results from a particular news website?
The Bing Custom Search API enables you to create tailored ad-free search experiences for topics that you care about. You can specify the domains and webpages for Bing to search.
https://learn.microsoft.com/en-us/rest/api/cognitiveservices-bingsearch/bing-custom-search-api-v7-reference
you can use site parameter in API query to get results from specific website, but it;s not guranteed as advance search operators are no longer supported.
https://api.cognitive.microsoft.com/bing/v7.0/search?q=q=Trump+site:wikipedia.com
I have already hosted my website, and I want to search it from Google.
How can I search?
Is there any need to upload my website to Google?
Yes, at least webmaster submission. Also, read more about the webmaster tool.
Add the proper search term to your searched words:
site:www.your-website.com searchword
You can use Google Webmaster tools for this purpose. Add your website there and you can get very valuable information about the state of your website on Google.
For faster inclusion of all pages of your website on Google database, you can create a sitemap.xml file (if you do not know how you can create it online here) and add it to Google webmaster tools.
You also can see on the Google page, placing the command "site:" before the url of your website in the search field, to view which pages are already indexed.
Is it possible to search Google (or elsewhere) to find which sites link to a particular URL? For example, find the sites that link to www.apple.com/osx/whatever.pdf ?
If this is for your own website, you can take a look at Google Analytics or a similar analytics/conversion tracking.
Is it possible to add an out-of-the-box Bing site search box to my SharePoint extranet and have it actually work? My mind says no, since it can't possibly index my pages, right? Just wanted to know your thoughts.
You can add bing search box and you would get results as well but only pages from your site which are allowed for anonymous access will be crawled by Bing. My question to you is this when share point already provides Such a wonderful search engine why do you need anything else for crawling of your internal content.
I have some txt log files where i print out some important activities for my site.
These files ARE NOT referenced from any link within my site, so it's only me i know the url
(they contain current date in the filname so i have one for each day).
Question: will google index these kind of files?
I think google indexes only the pages whom urls are on the site.
Can you confirm my assumption? I just do not want others to find the link from google etc:)
In theory they shouldn't. If they aren't linked from anywhere they shouldn't be able to find them. However I'm not sure if stuff can make its way into the index by virtue of having the google toolbar installed. Definitely I've had some unexpected stuff turn up in search engines. The only safe way would be to password protect the folder.
Google can not index pages that it doesn't know they exist, so it won't index these, unless someone posts the url's to google, or place them on some website.
If you want to be sure, just disallow indexing for the files (in /robots.txt).
Best practice is to use the robots.txt to prevent the google crawler from indexing files you don't want to show up.
This description from Google Webmaster Tools is very helpful and leads you through the process of creating such a file:
https://support.google.com/webmasters/answer/6062608
edit: As it was pointed out in the comments there is no guarantee that the robots.txt is used so password-protecting the folders is also a good idea.