• Resolved bronsonoquinn

    (@bronsonoquinn)


    Because the plugin surfaces the “ajaxurl” on the page, Google is trying to index it, which causes an error in Google Search Console.

    Here’s the script that does it:

    /* <![CDATA[ */
    var wpcf7cf_global_settings = {“ajaxurl”:”https:\/\/vinaigrettesaladkitchen.com\/wp-admin\/admin-ajax.php”};
    /* ]]> */

    Would it be possible to delegate that code to a .js file instead of being inline on the page?

    Thanks!

    • This topic was modified 1 year, 10 months ago by bronsonoquinn. Reason: removed weird script text

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    I don’t think Google is following that link because of this code. the URL is merely the value of a JavaScript variable.

    Probably some other plugin or your theme is causing this.

Viewing 1 replies (of 1 total)
  • The topic ‘“ajaxurl” on page indexed by Google’ is closed to new replies.