Title: Missing Headers &amp; wpmejsSettings
Last modified: June 6, 2022

---

# Missing Headers & wpmejsSettings

 *  [ChickenDipper](https://wordpress.org/support/users/chickendipper/)
 * (@chickendipper)
 * [4 years ago](https://wordpress.org/support/topic/missing-headers-wpmejssettings/)
 * Hello,
 * I just have a couple of questions about this handy plugin.
 * 1. When checking my site using securityheaders.com I am missing:
    Referrer-Policy
   Permissions-Policy These both do not exist in HMWP, is it possible to add these?
 * 2. In my source code I have the following:
 *     ```
       <script id='mediaelement-js-extra'>
       var _wpmejsSettings = {"pluginPath":"\/wp-includes\/js\/mediaelement\/","classPrefix":"mejs-","stretching":"responsive"};
       </script>
       ```
   
 * Is it possible to remove/hide this as it shows the path to wp-includes?
 * Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [John Darrel](https://wordpress.org/support/users/johndarrel/)
 * (@johndarrel)
 * [4 years ago](https://wordpress.org/support/topic/missing-headers-wpmejssettings/#post-15719515)
 * Hi [@chickendipper](https://wordpress.org/support/users/chickendipper/),
 * Thanks for the questions.
 * 1. The two headers are not present in the free version. Only on the premium version
   of the plugin but you can use .htaccess to add them to your website.
 * 2. If there are URLs that remain in the source code, you can use the URL Mapping
   to change them like:
 * **\/wp-includes\/js\/mediaelement\/ => \/newpathmedia\/**
 * Normally, the paths should be absolute in JS in order to be changed, you can 
   try also with:
 * **Hide My WP > Tweaks > Change Options > Change Relative URLs to Absolute URLs**
 * [https://hidemywpghost.com/kb/activate-security-tweaks/#fix_relative_urls](https://hidemywpghost.com/kb/activate-security-tweaks/#fix_relative_urls)
 * Best, John
 *  Thread Starter [ChickenDipper](https://wordpress.org/support/users/chickendipper/)
 * (@chickendipper)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/missing-headers-wpmejssettings/#post-15726205)
 * Hi,
 * Thanks for the advice.
 * 1. Will this still be possible with the premium version if I am using ngnix?
 * 2. I tried \/wp-includes\/js\/mediaelement\/ => \/newpathmedia\/ but the paths
   have the backslashes remove so end up:
 * /wp-includes/js/mediaelement/ => /newpathmedia/
 * also tried
 * Hide My WP > Tweaks > Change Options > Change Relative URLs to Absolute URLs
 * Doesn’t seem to help.
 * Thank you.
 *  Plugin Author [John Darrel](https://wordpress.org/support/users/johndarrel/)
 * (@johndarrel)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/missing-headers-wpmejssettings/#post-15727579)
 * Hi,
 * 1. Yes, in the premium version you can add these headers.
 * 2. I’ll send this to the devs to check and see why the paths is not changed. 
   Did you also try to add in URL Mapping **/wp-content => /core** and **/mediaelement
   => /pathmedia**
 * John
 *  Thread Starter [ChickenDipper](https://wordpress.org/support/users/chickendipper/)
 * (@chickendipper)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/missing-headers-wpmejssettings/#post-15729781)
 * Hi,
 * I have tried mapping /wp-includes => /lib as I think this is what you meant.
   
   This breaks the site.
 * /mediaelement => /pathmedia has no effect on this specific text/code.
 * Thanks again.
 *  Plugin Author [John Darrel](https://wordpress.org/support/users/johndarrel/)
 * (@johndarrel)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/missing-headers-wpmejssettings/#post-15740998)
 * Sorry for the delay.
 * I wanted to let you know that the devs are still working on this and will let
   you know when we have an update by tomorrow or Friday.
 * John
 *  Plugin Author [John Darrel](https://wordpress.org/support/users/johndarrel/)
 * (@johndarrel)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/missing-headers-wpmejssettings/#post-15753327)
 * Hi,
 * Please upgrade HMWP to the last version and check again. We added support for
   relative paths in script code.
 * Let me know if it’s working for too.
 * Best, John

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Missing Headers & wpmejsSettings’ is closed to new replies.

 * ![](https://ps.w.org/hide-my-wp/assets/icon-256x256.png?rev=3217792)
 * [WP Ghost (Hide My WP Ghost) - Security & Firewall](https://wordpress.org/plugins/hide-my-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hide-my-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hide-my-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/hide-my-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hide-my-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hide-my-wp/reviews/)

## Tags

 * [referrer policy](https://wordpress.org/support/topic-tag/referrer-policy/)

 * 6 replies
 * 2 participants
 * Last reply from: [John Darrel](https://wordpress.org/support/users/johndarrel/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/missing-headers-wpmejssettings/#post-15753327)
 * Status: not resolved