I've installed Google Site Search module (gss) in Drupal 7. I've bought the site search from google custom engine and inserted the search engine ID in the search settings under Google Site search and made it the default search module.
However i'm yet to see any results.
What might I have missed?
Modify submission handler for search_block()
$search = trim(filter_xss($form_state['values']['search']));
drupal_goto('search/gss/' . $search);
Related
I have a React app hosted on Heroku with a domain I bought on GoDaddy (let's call it www.mydomain.org). I noticed today that I am not ranking anywhere in the first 10 pages for my (highly unusual) company name despite the site being live for a month, and if I search for mydomain.org it says this domain is parked for free by GoDaddy.
In fact, if I just enter "mydomain.org" into my URL bar it brings me to a GoDaddy page that says the same thing (parked for free). If I enter "www.mydomain.org" it successfully brings me to my web app.
How do I:
1. Get Google to crawl my app so searching for "mydomain" actually brings up my site? (this is not an SEO question -- I'm not asking how to rank for terms like web development, but for a made-up word that is pretty unique to my site)
2. Make sure that "mydomain.org" brings me to the right site and not a GoDaddy placeholder page? My impression was that the modern web did not require "www" to find the right domain.
You need to setup you sitemap.xml and robot.txt, and let google know by adding a link to it via your Google Search Console.
I have a PHP website which is currently not using AngularJS. I'd like to change its design and while I'm at it, start using AngularJS to make a SPA website. This website contains programming tutorials, so its position in google search result is crucial. I've been searching recently to see if AngularJS can be used in that case and the most interesting post I found is this one : Google bot crawling on AngularJS site with HTML5 Mode routes
I'd like to know if my website will still be referenced the same way if I use AngularsJS. I'll pay attention that URL stays the same, but will the Google bot be able to crawl my website the same way it does now ? I need to be sure because I don't want to loose all my traffic because Google is no longer able to crawl my site.
Google now runs JavaScript and can index AngularJS sites.
Source
Some caveats though: most top ranked search results are still server-rendered, so how the Google algorithm ranks your site is unclear. Also other search engines such as Bing may not be able to read your site.
I created an app engine app (deployed and working) that I want to add to my google apps primary domain.
I followed the directions in the app engine console (going through Administration -> Add Domain).
I typed my domain in and get to the page with the terms and services.
the page has the title:
You have requested that the ' YOUR_APP_ENGINE_SERVICE_HERE ' service be added to your domain
the url is https://admin.google.com/AdminHome?appId=YOUR_APP_ENGINE_SERVICE_HERE&chromeless=1#OGX:AddAppEngineService
I check the checkbox to accept the terms and services then click activate, after a few seconds I get back to the same terms and services page.
I get no errors that tell me anything.
If this helps my google apps account is one of the grandfathered free accounts (< 10 users).
Thanks
It ended up being a conflict with a google sites website id being the same as the appengine id (eventhough they were going to be into different subdomains). it created a conflict without error messages, so deleting the old site id did the trick
How can we set Google Analytics on my website which is created on DNN 6.3.
Is there any need to install google analytics module in DNN 6.3 (I think it is already inbuilt in upper version of DNN 6.0) or it just start working by only set Tracking Id in admin section.
Actually what i did :> I have created an account with "Google Analytics" & set our site parameters after that I got Tracking Id which I have set to my DNN account.
Now what i had seen on my Google Analytics account there was no counting of any report all are showing zero. But during that time i was visit more than 5 times on my website.
So if anyone have an idea what i was doing wrong kindly suggest to me :)
There is no such thing as DNN 6.3. It went from 6.2.x to 7.0.x... But, you don't need to install any additional modules for DNN 6.x to get Google Analytics to show up. You just need to enter your Tracking ID in Admin -> Google Analytics.
Then you can check whether it's working correctly by verifying it rendered in the HTML. Bring up your site in your browser and then view the source of the page. Then search for "UA-". If it finds it, then that should be the Google Analytics snippet. If it didn't find it, then there's something going wrong.
Keep in mind that by default Google Analytics won't show the current day's hits. You have to modify the date range to include todays date.
I have a Google Apps domain at www.openstv.org that I use for email and a website.
I recently created a Google App Engine app at stv.appspot.com and it can also be accessed at opal.openstv.org.
I would like to:
Use www.opavote.org for my Google App Engine app instead of opal.openstv.org, and
Have opavote.org be a domain alias of openstv.org so that I don't have to maintain two Google Apps domains.
Two stackoverflow questions suggest that this is possible:
Google App Engine on Google Apps Domain
Google App Engine and domain name
But other reputable information suggests that it is not possible: Issue 638
I've tried to do this, but I can't get it to work. Is there an explanation for this apparent contradiction?
EDIT: Adding what I tried in response to Nick's comment.
From App Engine Dashboard:
Go to Application Settings
Click Domain Setup
Enter opavote.org -> "Sorry, you've reached a login page for a domain that isn't using Google Apps. Please check the web address and try again."
Click back and enter openstv.org -> Takes me to Google Apps for Openstv.org
From Google Apps Dashboard for OpenSTV.org -> stv settings (my GAE app) -> Click add new URL
I'm allowed to enter a subdomain of openstv.org (e.g., opal.openstv.org) but I am not allowed to use the opavote.org domain (there is no dropdown menu for the domain).
Go to Google Apps -> Domain Settings -> Domain Names and see that opavote.org is listed as a domain alias and is verified in two ways (DNS record and uploading file). No other options here.
If you've added 'opavote.org' as an alias, it should be showing up in the list - this sounds like a bug with Apps. Have you tried removing it and re-adding it? If that doesn't work, you may need to file an issue with the Apps team. It's definitely possible to do this - I'm running apps off alias domains myself.