I'm hosting a WP site on a VPN so I'm doing all of the server management. A while back, I simply renamed my WP folder so that it would be inaccessible. Now I need it to be accessible again and so I renamed it to what it was before. For some reason the site is now extremely slow. As you can see in this screenshot, the server spends about 5 minutes doing who knows what before returning anything.
Here is the .htaccess file within my /blog/ directory:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>
# END WordPress
I have tried to disable the plugins by renaming the /plugins/
directory to /plugins.hold/
with no success. Still, though. Any idea why the theme could be causing this issue? It would be nice to have the theme working again!
I have tried to look at the apache error logs and nothing suspect seems to show up at the warning level. I also looked at my .htaccess files and didn't find anything out of the ordinary (as far as I know, the WP files have not been modified at all). The site does use HTTPS so I wonder if it has to do with changes that may have been made while the WP site was not being used. I'm thinking this is more of an Apache config problem, but any insight as to how I can debug this would be much appreciated. If you need me to post more info I will happily do so.
UPDATE 1
It seems to be a problem with my current theme, Salient. Once I switched to another theme, the site appears to load normally.
license.txt
orreadme.html
, or even a test PHP file, it loads instantly. So it's something about that folder and the WP files within it.