I have a website in persian language , google had got wrong redundant keyword on my website as the top rank keyword with maximum occurrence .
The keyword is 'های' . that's the sign of addition in persian language.
how do i prevent it from happening ?
Try to use more other keywords in your content to build your semantic core and change the TOP keywords list. This is the best way.
I would not worry about what you ask.
Related
I've been working with Google Custom Search API and faced some inconveniences I hope you can help me with.
Google Custom Search API offers as a parameter in its call the possibility to search by an exact text as well as exclude it from results: exactTerms and excludeTerms. However, the q parameter is mandatory and cannot be ignored, so if I want to search only by an specific text I just can't.
So how can I do a query using JSON API that contains specifically the text I want? Does the q parameter work as the search form in Google?
If I want results including 'foo', should I do this:
service.cse().list(cx=const.SEARCH_ENGINE_KEY, q='"foo"').execute()
or this?:
service.cse().list(cx=const.SEARCH_ENGINE_KEY, q=None, exactTerms='foo').execute()
Thank you in advance for your time.
Due to the success on the answers (hehe) I'm posting my own conclusions. Please, if you've any facts regarding the original question, please post it.
I've been testing with some calls to Google CSE API and looks like you can pass to q parameter the same query you'd do in Google's main page textfield. So (at least for my needs), you don't need exactTerms and excludeTerms to get what I was trying to achieve.
Anyway, as I said before, if you know how to work with these parameters I'm sure everybody will thank you.
translate.google.com corrects word and shows some additional info about it
But Google Translate API returns only translation:
Also, it doesn't translating incorrect words.
Q. Can I somehow translate incorrect words with API?
No, there's no mechanism to do this built into the Google Translate API as of right now.
You'd need to do this correction on your end prior to requesting a translation.
I have few blogs for some clients. I need to remove links to one of my clients in all posts. Just to be clear i need to remove links and my keyword should stay like it is.
I found this plugin http://wordpress.org/plugins/automatically-remove-links-from-posts/installation/
But this one remove all links.
I need to remove all links just for one client, and links for other clients should stay unchanged.
Does anyone know about some good plugin for this solution?
Is there any way using SQL statements? I need solution to recognize link no meter what is keyword and to remove href text leaving keyword unchanged.
Thanks in advance!
You could try using regex .. Create a regex pattern and use in this plugin .This will search and replace them with ''
This is the plugin
Try and let know
I'm trying to write a URL for Twitter's Search API.
The page says you can search for love or hate:
https://dev.twitter.com/docs/using-search
love OR hate containing either "love" or "hate" (or both)
But I'm not seeing a way to do this.
It should be fairly simple:
http://search.twitter.com/search.json?q=%40twitterapi
is an example of a URL that searches for twitterapi. But how would I search for two terms? What's the operand for OR in this context?
Nevermind, it appears that %20OR%20 works in this context.
We're having a problem with the automatic spell checking on queries in the XML results of the Google Custom Search.
Queries which are spelled incorrectly return results with the correct spelling e.g. socer becomes soccer and returns the correct results. On Google.com there is the option to then search for results on the original query using nfpr=1 in the query string. However this doesn't work in the Google Custom search, and I've been unable to find any other way to search for the incorrect spelling.
For a standard google search this behavior can be avoided by adding the argument &nfpr=1 to the query url.
For a custom search based on the AJAX API, this unfortunately isn't possible. The only way I've found is to use javascript to parse the user's query, then use a regular expression to put quotes around each single word that is not yet quoted. So for example, if the keywords received are
"bmw z4" manual
you would change that to
"bmw z4" "manual"
which has the same effect, except that it disables the auto-correction. Unfortunately if you want to deal with all the special cases of advanced logical syntax (AND, OR, |, -, etc.), your regexp gets a bit complex.
Myself, I just parse the response from Google to see if this is happening, and if so notify the user how to prevent it (by putting quotes around the offending word(s)).