Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1052835

    I have a multisite WordPress installation currently supporting a couple of blogs (http://extranetevolution.com/ is one) and websites (mine at http://pwcom.co.uk/ for example). I also use it as a staging environment for working on client websites. For my latest client, I opted to try out Enfold for one site (http://philippank2018.constructpr.co.uk/), creating a Child theme.

    The initial experience was excellent, but the Enfold installation appears to be affecting all my sites whether they are using the Enfold Child theme or not.

    Suddenly, all my sites stopped displaying hosted images. The first time this happened my hosting provider was able to rollback my WordPress installation and everything got back to normal, and then it happened again (another rollback). It has now happened a third time and, according to my hosting provider, appears to be an .htaccess file issue.

    (It may be relevant, but I had issues in getting Enfold to display images in sliders – forum posts suggested this may be issues to do with CSS and JS, so I disabled the caching options while I was working on the website. Things worked OK for an hour or so, but then all the graphics disappeared again.)

    I want to prevent this happening again. I am keen to continue using Enfold (I might use it for my main blog, if I can resolve this issue), but at the moment, it’s causing me major issues.

    #1052876

    Hey Paul,

    Please share your .htaccess file with us.

    Best regards,
    Victoria

    #1053052

    I appear to have one .htaccess file and a series of originals….

    .htaccess file

    #Reset by Duplicator Installer. Original can be found in .htaccess.190111140456.orig

    This file’s content:

    #Reset by Duplicator Installer. Original can be found in .htaccess.190111114715.orig

    # 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

    4715.orig content:

    #Reset by Duplicator Installer. Original can be found in .htaccess.190111110722.orig

    0722.orig content:

    # BEGIN WordPress

    RewriteEngine On

    RewriteBase /

    RewriteRule ^index\.php$ – [L]

    # uploaded files

    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]

    RewriteCond %{REQUEST_FILENAME} -d

    RewriteRule ^ – [L]

    RewriteRule . index.php [L]

    # END WordPress

    #1053137

    I just looked at a backup and the .htaccess file that was being used before the latest issue arose was as per the 0722 version noted at the end of my previous post.

    Should I replace the existing file with this version? How do I prevent a recurrence of the problem?
    P

    #1053661

    Hi EEPaul,

    You see that this is not the Enfold issue, it is the Duplicator plugin messing with it.

    Keep only this part in the file:

    
    # BEGIN WordPress
    
    RewriteEngine On
    
    RewriteBase /
    
    RewriteRule ^index\.php$ – [L]
    
    # uploaded files
    
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    
    RewriteCond %{REQUEST_FILENAME} -d
    
    RewriteRule ^ – [L]
    
    RewriteRule . index.php [L]
    
    # END WordPress
    

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1053679

    Unfortunately Duplicator is not multi-site compatible. Therefore I got Updraft for this case. This works perfectly. But it’s not cheap. But it does backups automatically and sends them to me in zip form – depending on the setting also encrypted on my ftp server.

    #1053683

    Thanks. I deleted the Duplicator (WordPress migration) plugin (have been using Updraft for a while). Sites back and working with the original .htaccess file.

    #1053814

    Hi EEPaul,

    Glad you got it working for you! :)


    @Guenni007
    thank you for your input, as always :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.