BACKWPUP_PLUGIN_BASEURL Pulls Full File Path, Not URL
-
I recently set up BackWPup on an Apache web server hosted by AT&T. (Not my choice, but it’s what I have to work with.) I am also using a custom content path using WP_CONTENT_DIR and WP_CONTENT_URL in my wp-config.php.
After adding the BackWPup plugin, I noticed the styles and scripts for it weren’t loading. Looking at the Developer Console in Chrome, I noticed the URLs for the styles and scripts were adding in the full file path, not just the URL. For example, instead of:
https://www.example.com/content/plugins/backwpup
it was pulling
https://www.example.com/content/plugins/home/e/example.com/public_html/content/plugins/backwpupI can temporarily fix this by adjusting Line 33 in backwpup.php to
define('BACKWPUP_PLUGIN_BASEURL',plugins_url('backwpup');
but that’ll break in the next update of the plugin.Is there something I’m possibly doing wrong? Is there something not configured properly in the plugin?
- The topic ‘BACKWPUP_PLUGIN_BASEURL Pulls Full File Path, Not URL’ is closed to new replies.