Title: Admin.css is double slashed URL
Last modified: July 24, 2024

---

# Admin.css is double slashed URL

 *  Resolved [Dealer Solutions](https://wordpress.org/support/users/dealersolutions/)
 * (@dealersolutions)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/admin-css-is-double-slashed-url/)
 * Hello, I noticed a url of `/redis-cache//assets/css/admin.css` in my page source
   code
 *     ```wp-block-code
       WP_REDIS_PLUGIN_DIR . '/assets/css/admin.css'
       ```
   
 * The above constant `WP_REDIS_PLUGIN_DIR` end with a slash due to how `plugin_dir_url()`
   invokes `trailingslashit()` on the path, adding the trailing slash.
 * Is this constant useful if its only used once?
 * With thanks
    -  This topic was modified 1 year, 10 months ago by [Dealer Solutions](https://wordpress.org/support/users/dealersolutions/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/admin-css-is-double-slashed-url/#post-17920414)
 * I’ll fix that in the next release.

Viewing 1 replies (of 1 total)

The topic ‘Admin.css is double slashed URL’ is closed to new replies.

 * ![](https://ps.w.org/redis-cache/assets/icon-256x256.gif?rev=2568513)
 * [Redis Object Cache](https://wordpress.org/plugins/redis-cache/)
 * [Support Threads](https://wordpress.org/support/plugin/redis-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/redis-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redis-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redis-cache/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/admin-css-is-double-slashed-url/#post-17920414)
 * Status: resolved