Title: Problem installing
Last modified: August 21, 2016

---

# Problem installing

 *  Resolved [rhwaterloo](https://wordpress.org/support/users/rhwaterloo/)
 * (@rhwaterloo)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/problem-installing-14/)
 * I wanted to install this plugin on my weblog to protect the PDF files I have 
   in my media file. Since I don’t use Pretty Permalinks, Media Vault gives instructions
   how to adjust .htaccess with a code.
 * I followed all instructions, but still am not able to enable Media Vault. Underneath
   is a copy of the part in which I put the code presented by Media Vault (only 
   highlighted for this message).
 * Can you tell me what I did wrong?
 * # BEGIN WordPress
    <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule
   ^index\.php$ – [L] **# Media Vault Rewrite Rules RewriteRule ^wp-content/uploads(/
   _mediavualt/.\*\.\w+)$ index.php?mgjp_mv_file=$1 [QSA,L] RewriteCond %{QUERY_STRING}
   ^(?:.\*&)?mgjp_mv_download=safeforce(?:&.\*)?$ RewriteRule ^wp-contnet/uploads(.\*\.\
   w+)$ index.php?mgjp_mv_file-$1 [QSA,L] # Media Vault Rewrite Rules End RewriteCond%{
   REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.
   php [L] </IfModule> # END WordPress
 * [http://wordpress.org/plugins/media-vault/](http://wordpress.org/plugins/media-vault/)

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

 *  Plugin Author [Max GJ Panas](https://wordpress.org/support/users/max-gjp/)
 * (@max-gjp)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/problem-installing-14/#post-4444809)
 * there are a couple of typos in the second rule you typed out there!
 * it should be:
 * `RewriteRule ^wp-content/uploads(.*\.\w+)$ index.php?mgjp_mv_file=$1 [QSA,L]`
 * not:
 * `RewriteRule ^wp-contnet/uploads(.*\.\w+)$ index.php?mgjp_mv_file-$1 [QSA,L]`
 * Let me know if that fixes things!
 * By the way the WordPress rules you have provided above resemble the rules one
   would expect with Pretty Permalinks turned on. Normally with Pretty Permalinks
   turned off there should be no core WordPress .htaccess Rewrite Rules. That is
   to say one would **normally** find no code at all between the lines reading `#
   BEGIN WordPress` and `# END WordPress` in your .htaccess.
 * The Media Vault Activation Helper, in the case you want/need to use non-Pretty
   Permalinks provides the entire code block of plugin-required rewrite rules to
   copy, with instructions to just paste it above any other rewrite rules in your.
   htaccess file.
 * You can find the the Media Vault Activation Helper in the `Plugins` admin menu,
   if Media Vault has not already been fully enabled.
 *  Thread Starter [rhwaterloo](https://wordpress.org/support/users/rhwaterloo/)
 * (@rhwaterloo)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/problem-installing-14/#post-4444813)
 * The problem is solved.
 * I went to the Media Activation Helper and copied the code there and pasted in
   my .htaccess.
    After that I deleted Media Vault plugin and installed again. When
   I opened my media files I was able to protect them with Media Vault.
 * Thanks a lot for your support.
 *  Plugin Author [Max GJ Panas](https://wordpress.org/support/users/max-gjp/)
 * (@max-gjp)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/problem-installing-14/#post-4444825)
 * Glad I could help!
 *  [wplove3268](https://wordpress.org/support/users/wplove3268/)
 * (@wplove3268)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/problem-installing-14/#post-4444866)
 * I have a similar problem-I simply followed the directions listed in the Media
   Activation Helper but it’s still not able to completely install. My .htaccess
   file content is below. Do you see any problems? I just copied and paste the code
   the plugin provided. I tried the delete and reload trick rhwaterloo indicated
   with no luck. Or are there any other potential roadblocks I should know about?
 * Thanks for your help.
 *     ```
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
       # Media Vault Rewrite Rules
       RewriteRule ^wp-content/uploads(/_mediavault/.*\.\w+)$ index.php?mgjp_mv_file=$1 [QSA,L]
       RewriteCond %{QUERY_STRING} ^(?:.*&)?mgjp_mv_download=safeforce(?:&.*)?$
       RewriteRule ^wp-content/uploads(/.*\.\w+)$ index.php?mgjp_mv_file=$1 [QSA,L]
       # Media Vault Rewrite Rules End
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       </IfModule>
   
       # END WordPress
       ```
   
 *  Plugin Author [Max GJ Panas](https://wordpress.org/support/users/max-gjp/)
 * (@max-gjp)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/problem-installing-14/#post-4444867)
 * Hey,
 * Those rewrite rules look good. In the Media Vault Activation Helper when you 
   click to fully enable the plugin what happens? Do you have any other plugins 
   installed? in your .htaccess is there code above these rewrite rules?
 *  [wplove3268](https://wordpress.org/support/users/wplove3268/)
 * (@wplove3268)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/problem-installing-14/#post-4444868)
 * Thanks for getting back to me on this. This .htaccess code is the entirety of
   what’s in my .htaccess file. I tried deactivating all other plugins but was still
   unable to install. I got this message:
    “Media Vault could not be enabled because
   the rewrite rules have not been set up correctly. Please verify that you have
   gone through and correctly completed each of the steps below and try again. “
   Any ideas on what else could be causing a conflict?
 *  [wplove3268](https://wordpress.org/support/users/wplove3268/)
 * (@wplove3268)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/problem-installing-14/#post-4444869)
 * (And after I got that Media Vault message I did go back and check and clicked“
   Enable Media Vault” with the same results and error message.) The .htaccess file
   I’m editing is in the location indicated in the Media Vault Activation Helper.

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

The topic ‘Problem installing’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/media-vault_e6e2db.svg)
 * [Media Vault](https://wordpress.org/plugins/media-vault/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/media-vault/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/media-vault/)
 * [Active Topics](https://wordpress.org/support/plugin/media-vault/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/media-vault/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/media-vault/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [wplove3268](https://wordpress.org/support/users/wplove3268/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/problem-installing-14/#post-4444869)
 * Status: resolved