Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Jaye

    (@dravenloft)

    And, no, I’m not sure how some of the lines of the .htaccess got duplicated (just noticed that while trying to comprehend why the backticks to get the CODE function to work didn’t take). That’s happened sometime in the last 5minutes. But even not-duplicated things were broken so that’s not it.

    Thread Starter Jaye

    (@dravenloft)

    Found Solution

    it’s here

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    
    #rewriting wordpress stuff to the root
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} ^/wp-((content|admin|includes)|((cron|login)\.php))
    
    #rewriting everying that can't be found to index.php
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^index\.php$ - [L] 
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L] 
    
    #rewriting everything else to index.php
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteCond %{REQUEST_URI} !^/wp-(content|admin|includes|login|cron)(\.php)?
    RewriteRule . index.php [L]
    </IfModule>
    
    # END WordPress
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Images disappeared … AGAIN!’ is closed to new replies.