I have duplicated my site using the duplicator plugin from wordpress.org. However, when I wanted to run this on a new hosting service, first I encountered a 504 gateway timeout error. Therefore, I extracted the .zip contents and chose for manual package extraction, which solved the problem, but after the second step, again in the final step (test), I run into a 403 access denied error.
- I checked my access permissions, they were OK. (755 for folders and 644 or 666 for files)
- I checked my .htaccess file, it seemed to be OK. (I deleted it and the error appeared again).
- There are no plugins on my domain or host which might cause interference as I am installing the package afresh.
I don't know what is causing this problem.
My .htaccess file contents:
# 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