Google custom search results page don't show any results - wordpress

I'm trying to use the google custom search in a wordpress website (but without any plugin).
I've used the code google provided (the search box code and the search results page code) and the results page it's returning empty...
However the auto-complete it's working:
This is the page that should show the results: http://www.guiasdeviagens.com/pesquisa/
Anyone could help me please? I've been trying for some days and can't fix the problem. :(
Thanks in advance.

By some chance did you turn on search engine blocking? Go to the admin dashboard and look at the top of the page for "Search Engines Blocked". If it's there, click on it and toggle the Site Visibility setting. Remember that once you are visible you still want to submit your URL to google. It also helps to have a sitemap.xml file to help the googlebot find all of your pages.

Related

How to preserve utm parameters in wordpress website without plugin

My website is https://example.com/
When I run a campaign for example https://example.com/?utm_source=sourceexample&utm_medium=facebook
I want that when I navigate to any page the ?utm_source=sourceexample&utm_medium=facebook should also propagate in the URL. Currently when I navigate to any other page or click on a link the UTM parameters disappear from the URL.
I was expecting some piece of code to put in the function.php file which should fix this issue but unfortunately I could not find it.
Please help me to achieve it.
gravity from has this option inside the plugin.
will display on end page on what page they started.
also in google analytics.

Wordpress/Woocommerce search on the same page

I'm building a woocommerce plugin and i would like to have a search box for sku on one page in the admin section (so far no issue) but i would like the result to be displayed on the same page. e.g a ajax search and not a php search. Anyone has a tip for this?
You can use the below plugin for the same:
https://wordpress.org/plugins/search-in-place/

Show in the google search Official website

Good morning,
At the moment when I am trying to search for our website it appears the next:
griotblues.com: Front Page
griotblues.com/
In the google search.
I would like to have something like this:
Official
tinariwen.com/
But I actually don't know where do I need to change that information.
I am using wordpress and the theme call DIVI, tried to change the title of that page, but nothing actually happened.
Looking for some help.
Thank you in advance.

Google ads in Wordpress

I made a new theme in Wordpress before a year. And now i am updating as per requirement.
I have used Navayan Subscribe in this system. And i get Google ads in that place(frontend) and other place too(middle of the page). I don't know where are they coming from. As i have never used Google ads in clients website. You can check this page on the right hand side.
Thanks in advance.
It looks to me that the ads are coming from the widgets.
Go to Appearance > Widgets and check there.
If they are not there, check the code inside sidebar.php file by going to Appearance > Editor and open Sidebar.
You can also disable your plugins to see if some plugin is a cause the ads.
If still no luck then check other php pages for malicius code in the theme by looking for encrypted php code that looks like this:
eval(gzinflate(base64_decode('80jNycl...

get variable from a wordpress permalink

i have this wp page that display the preview of the products and once click it will send to the other page with full details of the product. Actually this worked on not pretty permalink but hopefully trying to make it search engine friendly
preview page:
http://localhost/phone/brand
full page:
http://localhost/phone/specs
sample link:
NOKIA-3210
Then specs/full page will get the "nokia-3210" string from the url to use in the wp query. but this redirect me to 404 page.
How can I go about fixing this? I've read that this can be fixed using .htaccess also rewrite_api, I'm lil confuse what to use. Any help to point me to the right direction?
I've never done this but I would guess some changes in the htaccess file would be required to force all visits onto the specs page itself and not treat nokia-3210 as a post/page.

Resources