Forum Replies Created
-
AuthorPosts
-
Thanks. I deleted the Duplicator (WordPress migration) plugin (have been using Updraft for a while). Sites back and working with the original .htaccess file.
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?
PI 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
-
AuthorPosts