Title: Media Library missing link
Last modified: August 30, 2016

---

# Media Library missing link

 *  Resolved [t.wiuf](https://wordpress.org/support/users/twiuf/)
 * (@twiuf)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/media-library-missing-link/)
 * From one day to an other.
    All my images went missing. They are still on the 
   server, but cant see them any more. I can see where they sould be but they are
   not.
 * In the beginning I had some problems connecting to the database, but that got
   solved by it self.
 * I tried deactivating all plugins did’t help. Turning all on again did’t help.
 * Hope some one can help me.
    Page talking about is: thomaswiuf.dk
 * cheers
    Thomas

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/media-library-missing-link/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/media-library-missing-link/page/2/?output_format=md)

 *  [sudhirtiwari](https://wordpress.org/support/users/sudhirtiwari-1/)
 * (@sudhirtiwari-1)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/media-library-missing-link/#post-6193738)
 * Hello t.wiuf
 * I can see images are there and path is also correct.
 * I am sure it is permission or ownership issue.
 * Please assign proper permission to upload directory, Check permission from cpanel
   or FTP client.
 * You should have given 644 or 755 tp that folder.
 *  Thread Starter [t.wiuf](https://wordpress.org/support/users/twiuf/)
 * (@twiuf)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/media-library-missing-link/#post-6193739)
 * Hi sudhirtiwari,
 * how can I assign: “proper permission to upload directory, Check permission from
   cpanel or FTP client”
 *  [sudhirtiwari](https://wordpress.org/support/users/sudhirtiwari-1/)
 * (@sudhirtiwari-1)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/media-library-missing-link/#post-6193741)
 * From cpanel, right click on folder name and there you can see permision option.
 * [https://www.siteground.com/tutorials/cpanel/file_permissions.htm](https://www.siteground.com/tutorials/cpanel/file_permissions.htm)
 *  Thread Starter [t.wiuf](https://wordpress.org/support/users/twiuf/)
 * (@twiuf)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/media-library-missing-link/#post-6193747)
 * Just had a looong look. the folder has the same settings as displayed on the 
   site you posted 🙁
 *  Thread Starter [t.wiuf](https://wordpress.org/support/users/twiuf/)
 * (@twiuf)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/media-library-missing-link/#post-6193751)
 * Should I maybe create a .htaccess file?
 *  [sudhirtiwari](https://wordpress.org/support/users/sudhirtiwari-1/)
 * (@sudhirtiwari-1)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/media-library-missing-link/#post-6193754)
 * WordPress comes with default .htaccess file ? Don’t you have it at the root of
   your folders ?
 * What is the code written in your .htaccess file ?
 *  Thread Starter [t.wiuf](https://wordpress.org/support/users/twiuf/)
 * (@twiuf)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/media-library-missing-link/#post-6193756)
 * inside the content folder and the uploads folder there is no .htaccess file.
 *  [sudhirtiwari](https://wordpress.org/support/users/sudhirtiwari-1/)
 * (@sudhirtiwari-1)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/media-library-missing-link/#post-6193757)
 * Not inside the content folder, it will be at root of your wordpress.
 *  Thread Starter [t.wiuf](https://wordpress.org/support/users/twiuf/)
 * (@twiuf)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/media-library-missing-link/#post-6193759)
 * I have none :O
 *  [sudhirtiwari](https://wordpress.org/support/users/sudhirtiwari-1/)
 * (@sudhirtiwari-1)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/media-library-missing-link/#post-6193767)
 * I am sure , It is something with htaccess or image permission. I will need access
   details to resolve the issue or you have find the htaccess file and send it to
   me.
 * Sometime htaccess files are hidden on server.
    [http://www.inmotionhosting.com/support/website/file-manager/show-hidden-files-in-file-manager](http://www.inmotionhosting.com/support/website/file-manager/show-hidden-files-in-file-manager)
 *  [sudhirtiwari](https://wordpress.org/support/users/sudhirtiwari-1/)
 * (@sudhirtiwari-1)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/media-library-missing-link/#post-6193769)
 * If htaccess files were not on root of your wordpress then your website won’t 
   work, Its there and hidden.
 *  Thread Starter [t.wiuf](https://wordpress.org/support/users/twiuf/)
 * (@twiuf)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/media-library-missing-link/#post-6193777)
 * Is this the part where it goes wrong?
 *     ```
       <IfModule mod_rewrite.c>
   
           RewriteEngine On
   
           # Watched directories
           RewriteCond %{REQUEST_URI} /wp-content/uploads [OR]
           RewriteCond %{REQUEST_URI} /wp-content/themes
   
           # Redirect images through the adaptive images script
           RewriteRule \.(?:jpe?g|gif|png)$ /wp-content/plugins/adaptive-images/adaptive-images/ai-main.php [L]
   
       </IfModule>
   
       # END Adaptive Images
   
       AddType application/x-httpd-php56  php
   
       DirectoryIndex index.php index.html
       ```
   
 *  [sudhirtiwari](https://wordpress.org/support/users/sudhirtiwari-1/)
 * (@sudhirtiwari-1)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/media-library-missing-link/#post-6193780)
 * Yes that’s the issue.
 * Try using the fresh .htaccess file. Keep this in backup.
 * Looks like adaptive-images plugin is causing some issue. Try default and check
   the result.
 *  Thread Starter [t.wiuf](https://wordpress.org/support/users/twiuf/)
 * (@twiuf)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/media-library-missing-link/#post-6193781)
 * and the hole part:
 * _[ Moderator note: Code fixed, please wrap code in [backticks or use the code button](http://codex.wordpress.org/Forum_Welcome#Posting_Code).]_
 *     ```
       ## Enable PHP 5.6
       AddType application/x-httpd-php56 php
   
       # BEGIN Adaptive Images
       #=======================
   
       <IfModule mod_rewrite.c>
   
           RewriteEngine On
   
           # Watched directories
           RewriteCond %{REQUEST_URI} /wp-content/uploads [OR]
           RewriteCond %{REQUEST_URI} /wp-content/themes
   
           # Redirect images through the adaptive images script
           RewriteRule \.(?:jpe?g|gif|png)$ /wp-content/plugins/adaptive-images/adaptive-images/ai-main.php [L]
   
       </IfModule>
   
       # END Adaptive Images
   
       AddType application/x-httpd-php56  php
   
       DirectoryIndex index.php index.html 
   
       # BEGIN W3TC Browser Cache
       <IfModule mod_deflate.c>
           <IfModule mod_headers.c>
               Header append Vary User-Agent env=!dont-vary
           </IfModule>
               AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
           <IfModule mod_mime.c>
               # DEFLATE by extension
               AddOutputFilter DEFLATE js css htm html xml
           </IfModule>
       </IfModule>
       <FilesMatch "\.(css|htc|less|js|js2|js3|js4|CSS|HTC|LESS|JS|JS2|JS3|JS4)$">
           <IfModule mod_headers.c>
                Header set X-Powered-By "W3 Total Cache/0.9.4.1"
           </IfModule>
       </FilesMatch>
       <FilesMatch "\.(html|htm|rtf|rtx|svg|svgz|txt|xsd|xsl|xml|HTML|HTM|RTF|RTX|SVG|SVGZ|TXT|XSD|XSL|XML)$">
           <IfModule mod_headers.c>
                Header set X-Powered-By "W3 Total Cache/0.9.4.1"
           </IfModule>
       </FilesMatch>
       <FilesMatch "\.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|json|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|wav|wma|wri|woff|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|DOCX|EOT|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|JSON|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SVG|SVGZ|SWF|TAR|TIF|TIFF|TTF|TTC|WAV|WMA|WRI|WOFF|XLA|XLS|XLSX|XLT|XLW|ZIP)$">
           <IfModule mod_headers.c>
                Header set X-Powered-By "W3 Total Cache/0.9.4.1"
           </IfModule>
       </FilesMatch>
       # END W3TC Browser Cache
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       </IfModule>
   
       # END WordPress
   
       # Added by Surftown to prevent brute force attack against wp-login.php
       <IfModule mod_rewrite.c>
       	RewriteEngine on
       	RewriteCond %{REQUEST_METHOD} POST
       	RewriteCond %{HTTP_COOKIE} !^.*wordpress_test_cookie.*$ [NC]
       	RewriteRule wp-login.php  - [F,L]
       </IfModule>
       ```
   
 *  Thread Starter [t.wiuf](https://wordpress.org/support/users/twiuf/)
 * (@twiuf)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/media-library-missing-link/#post-6193783)
 * okay thanks. will find the default 🙂

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/media-library-missing-link/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/media-library-missing-link/page/2/?output_format=md)

The topic ‘Media Library missing link’ is closed to new replies.

## Tags

 * [images missing](https://wordpress.org/support/topic-tag/images-missing/)
 * [media library](https://wordpress.org/support/topic-tag/media-library/)
 * [missing link](https://wordpress.org/support/topic-tag/missing-link/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 20 replies
 * 3 participants
 * Last reply from: [sudhirtiwari](https://wordpress.org/support/users/sudhirtiwari-1/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/media-library-missing-link/page/2/#post-6193810)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
