0

I have a html file, where and how can I add it to make it work?

2 Answers 2

0
<meta name="google-site-verification" content="FOLLOWED BY CODE">

Add above piece of code on the following path from Magento Admin:

Admin sidebar > Content > Design > Configuration > Edit > Other Settings > HTML Head > Scripts and Style Sheets

For more details, please refer to these links: Link-1 Link-2

6
  • I have to add html file not just code Aug 20, 2020 at 18:42
  • tried this ``` <meta name="google-site-verification" content="googleaae4bd5a0f08cd63.html;url=dev.kopiererhaus/googleaae4bd5a0f08cd63.html"> ``` not working Aug 20, 2020 at 18:50
  • Please go to Cache Management and refresh cache types if the Cache Types are invalidated. Add mentioned code in global and check again.
    – Pratik Oza
    Aug 20, 2020 at 18:55
  • ofc I cleared cache, what does it mean add in global? Aug 20, 2020 at 18:57
  • In the Design Configuration grid, you can see first row which is Global(This is the highest level in the Magento pyramid). After adding the data in global check "View Page Source" in browser.
    – Pratik Oza
    Aug 20, 2020 at 19:07
0

You must add html file in pub folder and that's it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.