Google Search field on website (like Firefox about:home) [not site search] - search

I am creating an intranet homepage for the company im working at. I would like to integrate a Google search bar (like the one on Firefox's default homepage 'about:home').
I DONT want the search to search pages within my site, i simply want it the functionality to be as follows.
User enters search term in field on intranet homepage
Hits the search button
Redirects to Google
Displays search results
I have searched the web (for a short time) but only found solutions relating to in site searching.
Many thanks in advance.

<form action="http://www.google.com/search">
<input name="q">
<input type="submit">
</form>

The Google Search API is probably what you want. You can read all about it here.

What exactly is your problem?
Add a text field to your intranet page
Add a submit button to your intranet page
On Submit, redirect to http://www.google.com/search?hl=en&q=<search term>

Related

Sharepoint search dynamic redirect url

I have run into an issue. I have created a custom search site where I want the user to be redirected to when searching.
I'm standing on one site and search using the search box in the suite bar.
I want to be able to see from which site I was on when I did the search. I'm hoping it's possible to send the site title in the URL, and read it from the search site.
EX. /sites/Search?q=testing&scope=Economy

how to configure search page in Prestashop to hide/ replace Sorry for the inconvenience message in search result

i am using prestashop for ecommerce website? need help in configure search result page from code part. when people search item in website and item not available then it show Sorry for the inconvenience, but i don't want it. i want to show input box or button to request that book. how to mannual configure search page in prestashop.
link below example -
https://mahiragate.com/search?controller=search&s=yadav
website : https://mahiragate.com/
design in prestashop.
i don't which file need to edit , where is message located in code.
If you're referring to Prestashop 1.7+ then you can comment this part in a template file, for the Classic theme is located in themes/classic/templates/errors/not-found.tpl.

How to tell search engines like Google to display its tabs/url?

When we search in google engine it displays top web site tabs or links too. Like when we search "bing" or "net beans".
Q: How it displays those links. Do we have to tell it to display these links.
Q: Does it something have to do with sitemap.xml/robots.txt or it displays the links present in index.php of that website?
Robots.txt: allow/disallow bots to crawl which page.
sitemap.xml: tells the map/loc of your website pages and also tells the frequency.
Q: How does it display description of a website?
I have searched about description it has to do with meta tag name description. But i open the source file of net beans
<META NAME="description" CONTENT="Welcome to NetBeans">
But the description google showing is
Fully-featured Java IDE written completely in Java, with many modules available, such as: debugger, form editor, object browser, CVS, emacs integration, ...
For your first question I should say that those links which you've mentioned are automatically genereted in top most visited websites and portals. If you'd set the sitemap.xml and robots.txt correctly in your website root folder, After a while if your website has a lot of visitors traffic, google detect your top most visited links which users most redirect to and show them in its result as you wish.
For the second question meta tags are not the only criteria the search engines show them in their results, Rather they catch the page content and extract the context from the text content of the page and show the description based on your entered keyword. However your meta description will be shown when keyword is the website name or its domain.
Take a look at Open Graph Protocol to extend your information about meta tags and your requirements for seo.
Regards

Home page is not displaying as the first term in google search

We have enable our website in Google Analytics and we have also used meta tags inside our jsp file.
Our website home page is not showing as first search term in Google and some sub pages are showed.
How can we get our homepage to show instead?
Use a sitemap.
You can find more info here: Sitemaps.org.
In a sitemap, you can set the priority of each page, so your homepage will appear above your other pages.
Keep in mind, though, you also have to have actual, relevant content on your homepage for it to show above others.
Their can multiple reasons. As you are saying, only homepage isn't showing. Then the mostly likely issue comes out is that it isn't indexed.
Another reason may be your is password-protected
OR
Your page has "no index" tags

If a page is not linked to the main website, can search engines find it?

I want to put a secret page in my website (www.mywebsite.com). The page URL is "www.mywebsite.com/mysecretpage".
If there is no clickable link to this secret page in the home page (www.mywebsite.com), can search engines still find it?
If you want to hide from a web crawler: http://www.robotstxt.org/robotstxt.html
A web crawler collects links, and looks them up. So if your not linking to the site, and no one else is, the site won't be found on any search engine.
But you can't be sure, that someone looking for your page won't find it. If you want secret data, you should use a script of some kind, to grant access to those, who shall get access.
Here is a more useful link : http://www.seomoz.org/blog/12-ways-to-keep-your-content-hidden-from-the-search-engines
No. A web spider crawls based on links from previous pages. If no page is linking it, search engine wouldn't be able to find it.

Resources