I’m trying to fix a clients old WordPress site, which for some reason when going to /wp-admin/ has started taking us to a 404 page. We have access to FTP but not to the WordPress Admin section. The site is hosted on Siteground.
In order to check we had the right access, I put die(“test”);
at the top of the main index.php file, and sure enough, refreshing the home page outputted “test” and nothing else. Then removed the die statement and refreshed the home page again – still said “test”. After double checking the file had saved correctly, I tried typing other urls in, such as domain.com/about – and these worked fine, and loaded correctly. I also put in domain.com/v=2 (just as a random variable), and this loaded the homepage correctly. However, just putting in domain.com still produces my blank “test” page.
I feel this must be a caching issue – but after 4 hours the “test” is still appearing. I have tried setting define(“WP\_CACHE”, true)
to false in wp-config.php, I have tried commenting out the line entirely, which did nothing. There is a plugin called Hyper Cache installed, but as I do not have access to wp-admin I can’t see if it is active or what its settings are. It has a hyper-cache folder inside wp-content/cache/ with a list of all the sites pages in it. I have tried renaming this folder to just ‘xxxxx’, but this achieved nothing either.
Would anyone know anything obvious going on as to why this is happening? Maybe it is something that Siteground do?
[ad_2]
You can disable the plugin by renaming its folder in the file system.