• Resolved excentricjester

    (@excentricjester)


    With ‘Remove html comments’option selected I noticed the entire block of code below was being stripped out, which was breaking the JS on the site.

    
    <!-- ngg_resource_manager_marker --><script type='text/javascript'>
    /* <![CDATA[ */
    var wpcf7 = {"apiSettings":{"root":"https:\/\/squalonet.com.au\/wp-json\/contact-form-7\/v1","namespace":"contact-form-7\/v1"},"recaptcha":{"messages":{"empty":"Please verify that you are not a robot."}}};
    /* ]]> */
    </script>
    <script type='text/javascript' src='/wp-content/plugins/contact-form-7/includes/js/scripts.js'></script>
    <script type='text/javascript'>
    /* <![CDATA[ */
    var mPS2id_params = {"instances":{"mPS2id_instance_0":{"selector":"a[rel='m_PageScroll2id']","autoSelectorMenuLinks":"true","scrollSpeed":1300,"autoScrollSpeed":"true","scrollEasing":"easeInOutExpo","scrollingEasing":"easeInOutCirc","pageEndSmoothScroll":"true","stopScrollOnUserAction":"false","layout":"vertical","offset":0,"highlightSelector":"","clickedClass":"mPS2id-clicked","targetClass":"mPS2id-target","highlightClass":"mPS2id-highlight","forceSingleHighlight":"false","keepHighlightUntilNext":"false","highlightByNextTarget":"false","appendHash":"false","scrollToHash":"false","scrollToHashForAll":"false","scrollToHashDelay":0,"disablePluginBelow":0,"adminDisplayWidgetsId":"true","adminTinyMCEbuttons":"true","unbindUnrelatedClickEvents":"false","normalizeAnchorPointTargets":"false"}},"total_instances":"1","shortcode_class":"_ps2id"};
    /* ]]> */
    </script>
    <script type='text/javascript' src='/wp-content/plugins/page-scroll-to-id/js/page-scroll-to-id.min.js'></script>
    <script type='text/javascript' src='/wp-content/themes/twentysixteen/js/skip-link-focus-fix.js'></script>
    <script type='text/javascript'>
    /* <![CDATA[ */
    var screenReaderText = {"expand":"expand child menu","collapse":"collapse child menu"};
    /* ]]> */
    </script>
    <script type='text/javascript' src='/wp-content/themes/twentysixteen/js/functions.js'></script>
    <script type='text/javascript' src='/wp-content/plugins/bj-lazy-load/js/bj-lazy-load.min.js'></script>
    <script type='text/javascript' src='/wp-includes/js/wp-embed.min.js'></script>
    <script type='text/javascript' src='/wp-content/plugins/slide-anything/owl-carousel/owl.carousel.min.js'></script>
    <!--
    The IP2Location Redirection is using IP2Location LITE geolocation database. Please visit https://lite.ip2location.com for more information.
    -->
    

    Also the robots.txt file wasn’t being created for me and when importing options from another domain the Host and Sitemap details are not updated to the current domain.

    It would also be great if the import options could include which components were active/deactivated.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hey @excentricjester and thanks for your request!

    “Remove html comments” — in work. Can you please send the whole code of the page? You can find our email in Clearfy menu.

    Did you open your_site.com/robots.txt or trying to find it at your filesystem?

    “Change sitemap urls when import” — in work.

    I don’t fully understand what did you mean about import.

    Thread Starter excentricjester

    (@excentricjester)

    Hi Alexander, I’ll send an email now with a login to our development site. I’ve tracked it down to having the NextGEN Gallery plugin active while using remove html comments, but there’s nothing in the error logs or console errors.

    The robots.txt file on this site is not updating, but I tested it on another site and it did.

    And RE: the import. I configured the plugin how I would like to use it and deactivated a few components I won’t use, but when I import the options into a new site I have to go back to Components and deactivate the ones I won’t use again.

    Hi @excentricjester, thanks again!

    We’ll check all of your issues and give the feedback.

    Hi @excentricjester

    We’ve fixed your issues. Meet the update today and give us the feedback please.

    Thread Starter excentricjester

    (@excentricjester)

    Thanks Alex! I’ve tested the update and it fixed my issues ??

    @excentricjester Does the robots.txt generated correctly? If doesn’t, please try to remove physical file at the root of your website and try again.

    Thread Starter excentricjester

    (@excentricjester)

    Yes, it is being generated. It wasn’t appearing in my FTP even when I refreshed, but if I visited /robots.txt it was there.

    @excentricjester a physical file is not created. It is given dynamically as you can see.

    Thread Starter excentricjester

    (@excentricjester)

    Oh, okay thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Issue with Remove html comments and Robots’ is closed to new replies.