The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. White Hat / Black Hat SEO
    4. Script must not be placed outside HTML tag? If not, how Google treats the page?

    Script must not be placed outside HTML tag? If not, how Google treats the page?

    White Hat / Black Hat SEO
    2 2 37
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • vtmoz
      vtmoz last edited by

      Hi,

      We have recently received the "deceptive content" warning from Google about some of our website pages. We couldn't able to find the exact reason behind this. However, we placed some script outside the HTML tag in some pages (Not in the same pages with the above warning). We wonder whether this caused an issue to Google to flag our pages. Please help.

      Thanks

      1 Reply Last reply Reply Quote 0
      • Roman-Delcarmen
        Roman-Delcarmen last edited by

        If Google detects that your website contains social engineering content, the Chrome browser may display a "Deceptive site ahead" warning when visitors view your site. You can check if any pages on your site are suspected of containing social engineering attacks by visiting the Security Issues report.

        If your site is flagged for containing social engineering content, follow these steps:

        • Check in with Search Console.
        • Verify that you own your site in Search Console and that no new, suspicious owners have been added.
        • Check the Security Issues report seeing if your site is listed as engaging in social engineering.
        • Remove deceptive content. Ensure that none of your site's pages contain deceptive content.
        • Check third-party resources included in your site.

        So make sure your site is clean and request a review here
        https://developers.google.com/web/fundamentals/security/hacked/request_review?visit_id=636777391086456088-3885393656&rd=1

        1 Reply Last reply Reply Quote 3
        • 1 / 1
        • First post
          Last post
        • Canonical tag On Each Page With Same Page URL - Its Harmful For SEO or Not?
          GastonRiera
          GastonRiera
          0
          2
          134

        • Submitting a page to Google Search Console or Bing Webmaster Tools with nofollow tags
          Martijn_Scheijbeler
          Martijn_Scheijbeler
          0
          2
          207

        • Canonical tags being direct to "page=all" pages for an Ecommerce website
          JMSCC
          JMSCC
          0
          6
          143

        • Google places VS position one ranking above the places.
          itrogers
          itrogers
          0
          11
          763

        • Why does my entire site show duplicate page titles for every single page? I have palced a canonical tag on index page will this correct the problem?
          Francisco_Meza
          Francisco_Meza
          0
          3
          471

        • Google Results Pages. after the bomb
          TheGrid
          TheGrid
          0
          3
          273

        • Does Google Penalize for Managing multiple Google Places from the same IP Address? Can you manage from same google account or separate? Or does it matter since it's created from the same IP?
          SEOKeith
          SEOKeith
          0
          3
          1.5k

        • What are the biggest optimization factors for Google Places?
          RDK
          RDK
          0
          2
          524

        Get started with Moz Pro!

        Unlock the power of advanced SEO tools and data-driven insights.

        Start my free trial
        Products
        • Moz Pro
        • Moz Local
        • Moz API
        • Moz Data
        • STAT
        • Product Updates
        Moz Solutions
        • SMB Solutions
        • Agency Solutions
        • Enterprise Solutions
        • Digital Marketers
        Free SEO Tools
        • Domain Authority Checker
        • Link Explorer
        • Keyword Explorer
        • Competitive Research
        • Brand Authority Checker
        • Local Citation Checker
        • MozBar Extension
        • MozCast
        Resources
        • Blog
        • SEO Learning Center
        • Help Hub
        • Beginner's Guide to SEO
        • How-to Guides
        • Moz Academy
        • API Docs
        About Moz
        • About
        • Team
        • Careers
        • Contact
        Why Moz
        • Case Studies
        • Testimonials
        Get Involved
        • Become an Affiliate
        • MozCon
        • Webinars
        • Practical Marketer Series
        • MozPod
        Connect with us

        Contact the Help team

        Join our newsletter
        Moz logo
        © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
        • Accessibility
        • Terms of Use
        • Privacy