403 forbidden access to my whole site

You need to look at all files via your hosting File Manager (or FTP). Look for any code that shouldn’t be there. See my answer to Coinhive Malware on WordPress websites , of things to check. And here’s the process I use to clean up hacked WP sites: https://securitydawg.com/recovering-from-a-hacked-wordpress-site/ . Basically: change credentials on everything; … Read more

Published pages missing

Generally when content is missing it is often related to caching plugins. One of those plugins is OptimizePress which can sometimes conflict and make it seem the content is missing. Here is what you can try: Deactivate all plugins and check again. Ensure the server has no caching enabled by asking your hosting provider. Check … Read more

500 error for all pages and post after move localhost to server

First change database name, username and password in the config.php file /** The name of the database for WordPress */ define(‘DB_NAME’, ‘DB_NAME’); /** MySQL database username */ define(‘DB_USER’, ‘DB_USERNAME’); /** MySQL database password */ define(‘DB_PASSWORD’, ‘DB_PASSWORD’); then upload the database and run the following queries, this will change all the local links to your live … Read more

After adding my website to a new server, I keep getting a unexpected end of file error, but the file is identitcal to it’s original source

So the issue has already been resolved via the comments and the current state of the question already includes the corrected code. But I thought I should post this answer as a reminder for you, me and everyone reading this. 🙂 So first off, here’s a helpful excerpt from an article on WP Engine: The … Read more

UTF-32be error WordPress

This means the file is encoded in UTF-32, an encoding that PHP doesn’t support. Open the file in a text editor that does support it, and convert it to UTF-8 without BOM. You should also check the other files in that plugin and contact the author to make them aware of the problem.

Site Address (URL) – causing error 404

You have installed your website in public_html/wordpress so you need to move it up a directory in FTP or change your URL in the dashboard to gas-springs.com/wordpress. The JSON error is because your WordPress URL is HTTP and the Site URL is HTTPS.

Query not work for current taxonomy

It looks like your query is for ALL posts in that post type as you are overwriting $posts when using $posts = get_posts(). You need to pass the Taxonomy parameter correctly as explained here like this: $args = array( ‘post_type’ => ‘post’, ‘tax_query’ => array( array( ‘taxonomy’ => ‘people’, ‘field’ => ‘slug’, ‘terms’ => ‘bob’, … Read more

Global__r connection timed out

You’re getting this because HyperDB cannot reach one of your database servers. It might be down, unresponsive, or unreachable. You’ll need to check on the servers themselves to find out what the issue is.