Securing langugae folder

The short answer is to use the location wp-content/languages/woocommerce/ to store custom translations. See WooCommerce documentation. This location should be safe from all WordPress updates. Folders parallel to languages/plugins and languages/themes will not be modified. To your specific questions: is there a way to make whole wp-content/languages folder safe for updating? You can control automatic … Read more

Enqueue All Stylesheets Found In a Theme Folder

No. You need to specify each stylesheet that you want your theme to enqueue. Doing it automatically would almost certainly cause issues, since the order that CSS is loaded is very important to how styles are applied. If the correct loading order for your theme’s stylesheets just happened to be alphabetical order that might not … Read more

Customized Blog/Latest Posts Page

I figured out what the problem was. It was the bozo on the keyboard (i.e., me) not understanding how WordPress operated and how its configuration settings interact. The first problem was simple. When I created a new “latest posts” page (in Elementor) it was displaying the list of blog posts…but because I didn’t update the … Read more

404 not working, going to homepage; how to fix?

In my case, the issue was the multi-site config attribute NOBLOGREDIRECT This had been set in wp-config.php… // Redirect non-existent Multisite subdomain calls to www primary site define( ‘NOBLOGREDIRECT’, ‘http://www.example.com’ ); This prevents a valid 404 appearing since it is always interpreted as a bad call to a subdomain. There are two solutions: Comment it … Read more