[Support request] how to hide the code information?

Home Forums Support how to hide the code information?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #923800

    for security.I wanna to hide the html code information about wp and theme file directory.
    so the question is how to change the code from every HTML page:

    <!--[if lte IE 11]> <script type='text/javascript' src='https://www.florasay.com/wp-content/themes/generatepress/js/classList.min.js'></script> <![endif]-->

    to be

    <!--[if lte IE 11]> <script type='text/javascript' src='https://www.florasay.com/wp-content/themes/g/js/classList.min.js'></script> <![endif]-->

    I can really make a “themes/g/js/classlist.min.js” flie directory and js file on my host
    if change the code by add function.php code, generatepress theme could update automatically.that’s better,or other way?

    Lead Developer
    Lead Developer

    I don’t believe it’s possible to hide/change the folder name without losing the ability to automatically update the theme, unfortunately.

    Just did a search and found this: https://wordpress.org/plugins/wp-hide-security-enhancer/

    Maybe it will help?

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.