WebSite X5Help Center

 
SHALUKA W.
SHALUKA W.
User

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

Автор: SHALUKA W.
Просмотрено 963, Подписчики 1, Размещенный 0  

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

see attached

www.slwa.org.uk

Размещено
2 Ответы
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

Читать больше
Размещено От Paul M.
Paul M.
Paul M.
Moderator

I have just noticed that your site was built with version 13 of WebSite X5, Shaluka.  In this case the code will be in a slightly different place.

Please see this link for details of where to find (and delete) it:

https://help.websitex5.com/en/v13/pro/index.html?imp_seo_tab2.htm

Читать больше
Размещено От Paul M.