Title: URLs to scripts wrong&#8230;
Last modified: August 31, 2016

---

# URLs to scripts wrong…

 *  Resolved [Peter Hardy-vanDoorn](https://wordpress.org/support/users/petervandoorn/)
 * (@petervandoorn)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/urls-to-scripts-wrong/)
 * On one site I have changed the name of the wp-content folder and that seems to
   be causing AAM problems.
 * In particular, on the Utilities tab, there are a number of attempts to load some
   files where the URLs are malformed:
 * `http://www.mysite.com/assets/var/sites/p/mysite.com/public_html/assets/aam/extension/
   utilities/css/bootstrap-toggle.min.css?ver=db5213b693287fd6cac185708b13fd23`
 * As you can see, it starts off ok – after the initial domain name and the new 
   wp-content name of `http://www.mysite.com/assets/`, it adds the absolute server
   file path of `var/sites/p/mysite.com/public_html/assets/`!
 * I have tried reinstalling.
 * [https://wordpress.org/plugins/advanced-access-manager/](https://wordpress.org/plugins/advanced-access-manager/)

Viewing 1 replies (of 1 total)

 *  [vasyl_m](https://wordpress.org/support/users/vasyl_m/)
 * (@vasyl_m)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/urls-to-scripts-wrong/#post-6946444)
 * Hi **Peter Hardy-vanDoorn**,
 * AAM completely relies on WordPress core constant **WP_CONTENT_DIR** and function**
   content_url()**. If you changed the name of your **wp-content** folder but WordPress
   core still points to wp-content, then it will not work properly.
 * Please explain what did you do in order to change the wp-content folder name.
 * Thank you,
    Vasyl

Viewing 1 replies (of 1 total)

The topic ‘URLs to scripts wrong…’ is closed to new replies.

 * ![](https://ps.w.org/advanced-access-manager/assets/icon-256x256.png?rev=3447421)
 * [Advanced Access Manager – Access Governance for WordPress](https://wordpress.org/plugins/advanced-access-manager/)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-access-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-access-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-access-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-access-manager/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [vasyl_m](https://wordpress.org/support/users/vasyl_m/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/urls-to-scripts-wrong/#post-6946444)
 * Status: resolved