Title: insert codes in the header
Last modified: July 17, 2025

---

# insert codes in the header

 *  Resolved [Philippe](https://wordpress.org/support/users/wp207/)
 * (@wp207)
 * [9 months, 3 weeks ago](https://wordpress.org/support/topic/insert-codes-in-the-header/)
 * Hello, I knew there is a way to insert codes in the header within the AIOSEO 
   tools but I cannot remember. I found it in the past in the ‘sitemaps’ section
   or something like that. Because I dont want to install WPCodes. Can you help 
   please ? Thanks. Great day !
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Finsert-codes-in-the-header%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [MM Aurangajeb](https://wordpress.org/support/users/aurangajeb/)
 * (@aurangajeb)
 * [9 months, 3 weeks ago](https://wordpress.org/support/topic/insert-codes-in-the-header/#post-18561093)
 * Hi [@wp207](https://wordpress.org/support/users/wp207/),
 * Thanks for reaching out!
 * It sounds like you are looking for our **Webmaster Tools Verification** feature.
 * This section allows you to add verification codes from various webmaster tools,
   and it also includes a general-purpose field for any other scripts.
 * Here is how you can find it:
    1. In your WordPress dashboard, go to **AIOSEO** > **General Settings**.
    2. Click on the **Webmaster Tools Verification** tab.
    3. You will see options for various services (Google, Bing, etc.). For other codes,
       use the **Miscellaneous Verification** field. You can paste your code directly
       into that box.
 * This will insert the code into your site’s `<head>` section.
 * For more information, please refer to our documentation here:
 * [https://aioseo.com/docs/miscellaneous-site-verification/](https://aioseo.com/docs/miscellaneous-site-verification/)
 * I hope this helps you find what you were looking for!
 * Feel free to ask if you have more questions or if there’s something else you 
   had in mind.
 *  Thread Starter [Philippe](https://wordpress.org/support/users/wp207/)
 * (@wp207)
 * [9 months, 3 weeks ago](https://wordpress.org/support/topic/insert-codes-in-the-header/#post-18561170)
 * Hi [@aurangajeb](https://wordpress.org/support/users/aurangajeb/)
 * Thanks, I can see it now. But it is said in the **Miscellaneous Verification**
   field that the codes will be added to each page of the website. I only want it
   to be set for the home page. Here is the code :
 *     ```wp-block-code
       <link rel="preconnect" href="https://therapies-alternatives-bordeaux.fr">
       ```
   
 * What is your advice though ?
 *  Plugin Support [MM Aurangajeb](https://wordpress.org/support/users/aurangajeb/)
 * (@aurangajeb)
 * [9 months, 3 weeks ago](https://wordpress.org/support/topic/insert-codes-in-the-header/#post-18562031)
 * Hi [@wp207](https://wordpress.org/support/users/wp207/)
 * Thank you for reaching out!
 * To handle this, we recommend using a code snippet plugin such as WPCode- [https://wordpress.org/plugins/tags/code-snippets/](https://wordpress.org/plugins/tags/code-snippets/).
   It allows you to effortlessly add and execute code snippets.
 * I hope this helps!
 * Thanks again for contacting us.

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

The topic ‘insert codes in the header’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-seo-pack/assets/icon.svg?rev=2443290)
 * [All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic](https://wordpress.org/plugins/all-in-one-seo-pack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-seo-pack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-seo-pack/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-seo-pack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-seo-pack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-seo-pack/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [MM Aurangajeb](https://wordpress.org/support/users/aurangajeb/)
 * Last activity: [9 months, 3 weeks ago](https://wordpress.org/support/topic/insert-codes-in-the-header/#post-18562031)
 * Status: resolved