Home Forums WordPress Plugins Hide My WP Some template files can not be hidden

This topic is: not resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #645
    acrncevi
    Active
    Post count: 11

    Hi there!

    I managed to install it properly. However, some special files of wordpres plugins can not be renamed. For example:

    RewriteRule ^folder/heart\.js /wp-content/themes/TEMPLATE-NAME/includes/plugins/love-it-pro/includes/js/love-it\.js [QSA,L]
    
    RewriteRule ^thirdparty/nonereply\.js /wp-includes/js/jscomment-reply\.min\.js [QSA,L]

    URL’s come out as:

    /template/includes/plugins/love-it-pro/includes/js/love-it.js?ver=3.8.1
    /template/includes/page-builder/assets/js_composer_front.js?ver=3.8.1'

    What should I do?

    • This topic was modified 10 years ago by acrncevi.
    #662
    Hassan
    Post count: 955

    Sorry for the long delay,

    Do you use Replace URLs to do that or it was done by third party plugins?

    Replace URLs rules add to the top of rules to make such URLs work.

    If you enter folder/heart.js in your address bar and it works then the problem is related to priority of changing old URLs in the source code. Try using Replace in HTML to replace old URLs with new ones.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.