Title: WP_REDIS_PATH not working in wp-config
Last modified: April 10, 2025

---

# WP_REDIS_PATH not working in wp-config

 *  Resolved [idee](https://wordpress.org/support/users/idee/)
 * (@idee)
 * [12 months ago](https://wordpress.org/support/topic/wp_redis_path-not-working-in-wp-config/)
 * Hey Till,
 * after moving our multisite to a new Server, we cant get the Redis Plugin to work
   again.
   Redis runs on Unix socket /run/redis_spiegx/redis.sockin wp-config I have:
   define( ‘WP_REDIS_PATH’, ‘/run/redis_spiegx/redis.sock’ ); // Path to your Redis
   Unix socket
 * Plugin stillgives:
   Connection refused [tcp://127.0.0.1:6379]Redis is up and running:
   redis-cli -s /run/redis_spiegx/redis.sockPing=> PONGDo I miss something here 
   in my config?Thanks for hlep,
 * Frank

Viewing 1 replies (of 1 total)

 *  Thread Starter [idee](https://wordpress.org/support/users/idee/)
 * (@idee)
 * [12 months ago](https://wordpress.org/support/topic/wp_redis_path-not-working-in-wp-config/#post-18409784)
 * sorry, found the answer:
 * **define( ‘WP_REDIS_SCHEME’, ‘unix’ );**
   define( ‘WP_REDIS_PATH’, ‘/run/redis_spiegx/
   redis.sock’ ); // Path to your Redis Unix socket

Viewing 1 replies (of 1 total)

The topic ‘WP_REDIS_PATH not working in wp-config’ 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/)

## Tags

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

 * 1 reply
 * 1 participant
 * Last reply from: [idee](https://wordpress.org/support/users/idee/)
 * Last activity: [12 months ago](https://wordpress.org/support/topic/wp_redis_path-not-working-in-wp-config/#post-18409784)
 * Status: resolved