Unexpected behavior when trying to manually install WordPress on macOS Sierra

Thanks to Jacob P. for pointing me in the right direction. The fix was simple once I saw that the site was not serving CSS resources. Since my site was indeed using https (and not http), simply changing the following in wp-config.php: define(‘WP_HOME’,’http://www.my.server.com‘); define(‘WP_SITEURL’,’http://www.my.server.com‘); To (note the https): define(‘WP_HOME’,’https://www.my.server.com’); define(‘WP_SITEURL’,’https://www.my.server.com’); solved the problem for me.

Ajax call not working anymore

I figured it out using this previous post: Issue with front-end ajax, getting a 302 redirect when accessing wp-admin/admin-ajax.php Basically, I had added an action to prevent subscribers from seeing certain wordpress pages. function limit_subscriber_access() { $redirect = home_url( “https://wordpress.stackexchange.com/” ); if ( ! ( current_user_can( ‘manage_options’ ) || current_user_can( ‘edit_posts’ ) )) exit( wp_redirect( … Read more

Security: Critical backend outside of wordpress

My security knowledge of WordPress is not that deep, but I believe this might help you a bit: – First find the vulnerabilities, once you know which one exists, research and find out how to fix it specifically. To find: – The WordFence Plugin is very good for this. – https://forum.fsocietybrasil.org/topic/992-wordpress-scan-vulnerabilities-and-malwares/ Here is a list … Read more

WordPress vps memory allocation

First, I have to tell you that this all depends on the server size and the amount of resources your WordPress site uses. That being said, I set my php memory limit to between 256 and 512 MB. WordPress sites can be slow for a large variety of reasons. Performance often improves by tweaking database … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)