HTML snippet - Is not located in the section. Instead it's located inside

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered
  • (Edited)
Archived and Closed

This conversation is no longer open for comments or replies and is no longer visible to community members. The community moderator provided the following reason for archiving: Archived

I have a re-direct HTML code to insert into my webpage to direct any incoming traffic to the mobile version of my webpage.   But it is not working correctly and I am told the cause is as follows:

" the code Is not located in the <head> section. Instead it's located inside <body>


This is where I am lost. I just went to my index page of my web site and inserted the HTML code. I am now told that why the re-direct to the mobile version of my website to another source who hosts the mobile version is because "Is not located in the <head> section. Instead it's located inside <body>


I am lost , where exactly do I post the code if not on the top of the index page ?  Any hel would be appreciated.

Thanks, Gerry 
Photo of Tony3686

Tony3686

  • 160 Points 100 badge 2x thumb

Posted 3 years ago

  • 0
  • 1
Photo of Drew N

Drew N, Alum

  • 262,816 Points 100k badge 2x thumb
An HTML box places code in the body, not the head section. If you need to add code to the head, use page settings > advanced. You will see a box called head.

This conversation is no longer open for comments or replies.