Title: Plugin paths not respecting wp-config.php defined constants
Last modified: August 30, 2016

---

# Plugin paths not respecting wp-config.php defined constants

 *  [zackseuberling](https://wordpress.org/support/users/zackseuberling/)
 * (@zackseuberling)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/plugin-paths-not-respecting-wp-configphp-defined-constants/)
 * This may be an issue specifically with my host, but perhaps someone else has 
   run into this issue before.
 * I have a defined constant in my `wp-config.php` file setting the URL (and path)
   to my wp-content and wp-content/uploads directories.
 * In my admin, both Woocommerce and Advance Custom Fields are pointing their assets
   to a full path rather than my defined URL.
 * Rather than:
 * `<link rel='stylesheet' id='acf-global-css' href='http://mywebsite.com/wp-content/
   plugins/advanced-custom-fields-pro/assets/css/acf-global.css?ver=5.2.7' type='
   text/css' media='all' />`
 * I’m getting the following:
 * `<link rel='stylesheet' id='acf-global-css' href='http://mywebsite.com/wp-content/
   plugins/absolute/path/to-wp-content-dir/wp-content/plugins/advanced-custom-fields-
   pro/assets/css/acf-global.css?ver=5.2.7' type='text/css' media='all' />`
 * Where `/absolute/path/to-wp-content-dir/` is my defined `WP_CONTENT_DIR` but 
   the entire URL should be my `WP_CONTENT_URL`.
 * This is happening on a Webfaction shared hosting environment.

The topic ‘Plugin paths not respecting wp-config.php defined constants’ is closed
to new replies.

## Tags

 * [path](https://wordpress.org/support/topic-tag/path/)
 * [symlink](https://wordpress.org/support/topic-tag/symlink/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [zackseuberling](https://wordpress.org/support/users/zackseuberling/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/plugin-paths-not-respecting-wp-configphp-defined-constants/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
