WebSite X5Help Center

 
SHALUKA W.
SHALUKA W.
User

How to remove google custom search bar at the top of the page  en

Auteur : SHALUKA W.
Visité 1119, Followers 1, Partagé 0  

how to remove google custom search bar at the top of the page.

see attached

www.slwa.org.uk

Posté le
2 RéPONSES
Paul M.
Paul M.
Moderator

Hello Shaluka,

Check in Step 1 Settings > Advanced tab > Statistics, SEO and code...

Look for the following code and delete it:

<script> (function() { var cx = '000185732424194834671:ottszdbboly'; var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true; gcse.src = 'https://cse.google.com/cse.js?cx=' + cx; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s); })();</script><gcse:search></gcse:search>

The code will probably be found on the Code tab...  'Custom Code' > 'Before closing the HEAD tag'  -  however, it might instead be found on the SEO tab > Verification metatag for Google Search Console.

Once you have deleted the code, reupload your site to the server in Step 5.

Kind regards,

Paul

https://webx5.pro

Lire plus
Posté le de Paul M.