最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Error in the paths of one of the plugins when changing the plugin directory

programmeradmin3浏览0评论

I decided to change the standard path to the plugins folder. Now all my plugins are located in site/modules

In wp-config I have the following written:

define( 'WP_PLUGIN_DIR', dirname(__FILE__) . '/modules' );
define( 'WP_PLUGIN_URL', '' );
define( 'PLUGINDIR', dirname(__FILE__) . '/modules' );

In the end, everything works, but plugin JetEngine in the console gives 404 errors on cx-vue-ui.js and vue.min.js.

The fact is that the new path to the folder with plugins is duplicated for some reason and looks like this:

//example/var/www/data/www/example/modules/jet-engine/framework/vue-ui/assets/js/cx-vue-ui.js
//example/var/www/data/www/example/modules/jet-engine/framework/vue-ui/assets/js/vue.min.js

I was looking for a solution to the problem and thought that something was wrong with my settings, but what is strange, everything works in the admin panel, except jetengine.

Did I do everything right? An error in the plugin or did I do something wrong?

发布评论

评论列表(0)

  1. 暂无评论