Title: AdSense Search Box code
Last modified: October 10, 2017

---

# AdSense Search Box code

 *  Resolved [milada07](https://wordpress.org/support/users/milada07/)
 * (@milada07)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/adsense-search-box-code/)
 * Hello all,
 * I have changed my site from http to https. I followed your guide [https://really-simple-ssl.com/knowledge-base/how-to-setup-google-analytics-and-google-search-consolewebmaster-tools/](https://really-simple-ssl.com/knowledge-base/how-to-setup-google-analytics-and-google-search-consolewebmaster-tools/)
   on google console and analytics.
    I have an AdSense account. I would like to 
   ask you if I should also change the AdSense Search Box Code from http to https?
   To the box “What to search” I changed my site url from [http://www.moreyouthfulskin.com](http://www.moreyouthfulskin.com)
   to [https://www.moreyouthfulskin.com](https://www.moreyouthfulskin.com), however
   the generated code displayed the http url, not https. Should I add an “s” in 
   the code or leave it as it is? Thank you. Regards,
 * Milada
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fadsense-search-box-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Mark](https://wordpress.org/support/users/markwolters/)
 * (@markwolters)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/adsense-search-box-code/#post-9572958)
 * Hi Milada,
 * I don’t know AdSense well enough to say if the code can be safely edited manually.
   Once a site has migrated to SSL it can take a few days for Google to adapt, however
   I’m not sure if that applies to AdSense code as well. I’ve done some searching
   and found the following steps to generate SSL compatible AdSense search box code:
 * – Go to google.com/cse
    – Generate your new Custom Search Engine code and add
   it to your site – Associate your AdSense account with your new Custom Search 
   Engine
 * See the following article for more information: [https://productforums.google.com/forum/#!topic/adsense/UzezpOtUPlY;context-place=forum/adsense](https://productforums.google.com/forum/#!topic/adsense/UzezpOtUPlY;context-place=forum/adsense)
 * Could you provide me with an AdSense code sample so I can take a look at what
   might need editing?
 * Mark
    -  This reply was modified 8 years, 8 months ago by [Mark](https://wordpress.org/support/users/markwolters/).
 *  Thread Starter [milada07](https://wordpress.org/support/users/milada07/)
 * (@milada07)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/adsense-search-box-code/#post-9573106)
 * Hi Mark,
 * thank you very much for your kind reply and hint!
    Best,
 * Milada

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘AdSense Search Box code’ is closed to new replies.

 * ![](https://ps.w.org/really-simple-ssl/assets/icon-256x256.png?rev=2839720)
 * [Really Simple Security - Simple and Performant Security (formerly Really Simple SSL)](https://wordpress.org/plugins/really-simple-ssl/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/really-simple-ssl/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/really-simple-ssl/)
 * [Active Topics](https://wordpress.org/support/plugin/really-simple-ssl/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/really-simple-ssl/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/really-simple-ssl/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [milada07](https://wordpress.org/support/users/milada07/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/adsense-search-box-code/#post-9573106)
 * Status: resolved