Google’s programmable search engine adds URL issues

Original link: https://www.williamlong.info/archives/6933.html

GoogleSearch.gif

When webmasters use Google’s programmable search engine, they will find a strange problem, that is, the end of the website URL will automatically add the #gsc.tab=0 suffix. This emoji is also added to the end of the URL when searching through the search box of Google’s programmable search engine.

This problem can be solved automatically if we remove the Google Programmable Search Engine code snippet from the website, but if the code is removed, the Google Programmable Search Engine can no longer be used to support site search.

Here is a method to delete the “#gsc.tab=0” suffix. The reason for this suffix is ​​that “Search result browsing history” is enabled. As long as we turn off this function, we can make the website URL no longer appear “#gsc” .tab=0″ suffix. The specific closing method is:

1. Log in to the Google programmable search engine.

2. Select the search engine for the specified website.

3. Click “Search Function”, then click “Advanced Settings”

4. Click “Web Search Settings” to disable “Search Results Browsing History”.

Google's programmable search engine adds URL issues

After saving the settings, visit the website again, and you will find that the “#gsc.tab=0” suffix no longer appears in the website URL.

Google Programmable Search Engine (Google Programmable Search Engine), once named Google Custom Search (Google Custom Search), is an improved search method based on Google search to arrange search results according to user needs. Google launched the service on October 23, 2006.

The Google Programmable Search Engine is a tailored search experience that allows webmasters to provide website users with personalized search services. You can also join the Google AdSense program and earn money by displaying Google AdSense ads on search results pages.

This article is reprinted from: https://www.williamlong.info/archives/6933.html
This site is for inclusion only, and the copyright belongs to the original author.