Failed opening required

WordPress includes many functions for determining paths and URLs to files or directories within plugins, themes, and WordPress itself. $plugin_dir = plugin_dir_path( __DIR__ ); // wp-content/plugins/ require_once($plugin_dir.’WPNonce/WPNonce.php’); While using plugin_dir_path(), keep in mind that the “plugin” part of the name is misleading – it can be used for any file, and will not return the … Read more

What dependencies should I load and to use the WP_Filesystem?

What is the best way to load the dependencies for the WP_Filesystem? The first or the second code part? WP_Filesystem() is used in conjunction with the global $wp_filesystem variable, so if you use it, then the second code part should be used. And WP_Filesystem() must be called so that the global $wp_filesystem variable is properly … Read more

List of files/folders writable by the web server?

The short answer is that you’re correct… You don’t want the web server (or web user) accounts to have full write access to your WordPress installation. Your user account, however, will need write permissions for the entire application because many of the WordPress features (such as automatic updates among others) require access to the core … Read more

External pages redirecting back to wordpress

You have 2 options: 1 – Move either WP or your vueJS into a separate folder severd from a new or sub domain, 2 – Adjust the default Wp .htaccess to ignore your externalfolder . after RewriteEngine On RewriteBase / add RewriteCond %{REQUEST_URI} !^/externalfolder/