Title: Wrong css url
Last modified: July 4, 2021

---

# Wrong css url

 *  Resolved [anton868](https://wordpress.org/support/users/anton868/)
 * (@anton868)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/wrong-css-url/)
 * Everything works fine on my local computer. On the server, the css files are 
   loaded at: “**//**wp-config/…”. I’m getting a 404 error. Maybe someone knows 
   how can I fix this.

Viewing 1 replies (of 1 total)

 *  Thread Starter [anton868](https://wordpress.org/support/users/anton868/)
 * (@anton868)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/wrong-css-url/#post-14628698)
 * I have to deffinded `WP_CONTENT_DIR` in my wp-config file and now it’s working.
   In wp-config I added `define('WP_CONTENT_DIR', '/wp-content');`. Problem is resolved

Viewing 1 replies (of 1 total)

The topic ‘Wrong css url’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/block-lab_5c34e8.svg)
 * [Block Lab](https://wordpress.org/plugins/block-lab/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/block-lab/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/block-lab/)
 * [Active Topics](https://wordpress.org/support/plugin/block-lab/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/block-lab/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/block-lab/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [anton868](https://wordpress.org/support/users/anton868/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/wrong-css-url/#post-14628698)
 * Status: resolved