Title: Caching plugin (WP-Rocket)
Last modified: July 12, 2018

---

# Caching plugin (WP-Rocket)

 *  Resolved [zadki3l](https://wordpress.org/support/users/zadki3l/)
 * (@zadki3l)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/caching-plugin-wp-rocket/)
 * Hi
 * I’m trying to use WP-Rocket with Multiple Domain Mapping on Single Site and it
   does not works well.
    It seems they support WP-MU Domain mapping but it may require
   some adaptations for this cache plugin.
 * [https://github.com/wp-media/wp-rocket/blob/4d5f0e76f3d4ddc937fb4fa295d4e491decf5f10/inc/main.php#L66](https://github.com/wp-media/wp-rocket/blob/4d5f0e76f3d4ddc937fb4fa295d4e491decf5f10/inc/main.php#L66)
   
   [https://github.com/wp-media/wp-rocket/blob/master/inc/domain-mapping.php](https://github.com/wp-media/wp-rocket/blob/master/inc/domain-mapping.php)
 * I think the issue is that it does not catch the modified domain and thus does
   not cache anything for it. Any thought about it ?
 * Any help or answers would be much appreciated!
 * Thanks

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [matthias.wagner](https://wordpress.org/support/users/matthiaswagner/)
 * (@matthiaswagner)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/caching-plugin-wp-rocket/#post-10489882)
 * hy,
 * could you please post the link to your site and a screenshot of your mapping-
   settings as well?
 * matt
 *  [flaviese](https://wordpress.org/support/users/flaviese/)
 * (@flaviese)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/caching-plugin-wp-rocket/#post-10732181)
 * Hi, similar problem with w3 total cache, if enabled the redirection lands to 
   home page, not to the destination url…
 *  Plugin Author [matthias.wagner](https://wordpress.org/support/users/matthiaswagner/)
 * (@matthiaswagner)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/caching-plugin-wp-rocket/#post-10732201)
 * hy,
 * so far we can not put effort in additional features like cross-plugin-support.
   i’m afraid you will have to disable the cache for these particular pages if it
   does not work – although i know it’s not good for performance :/
 * but good news: we have several pages running with “WP Fastest Cache” and our 
   plugin. so if it is ok for you, please switch to this one.
 * matt
 *  [flaviese](https://wordpress.org/support/users/flaviese/)
 * (@flaviese)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/caching-plugin-wp-rocket/#post-10732281)
 * Hy, it is not a question of page to disable I’m afraid. However I found a setting
   into W3 Total cache, in “Page cache” menu, in which there is a section dedicated
   to “Alias domains”. Putting the domains in that textarea let your plugin to work.
 * Thankyou
    Flavio
 *  Plugin Author [matthias.wagner](https://wordpress.org/support/users/matthiaswagner/)
 * (@matthiaswagner)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/caching-plugin-wp-rocket/#post-10732296)
 * ah great 🙂
    i do not know W3 Total Cache well so i was not aware of this setting.
   thanks for sharing!
 * matt
 *  [agoulddesign](https://wordpress.org/support/users/agoulddesign/)
 * (@agoulddesign)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/caching-plugin-wp-rocket/#post-11177842)
 * I’ve found that disabling database caching helps with multi-domain mapping. I
   will attempt to narrow down the query and update if I find it.
 * Not sure how this applies to Rocket but disabling database caching fixed my multi-
   domain issues with W3.
 * I spent hours trying to figure this out for my client and thought this might 
   help anyone who’s experiencing the same issues I was having.
 *  Plugin Author [matthias.wagner](https://wordpress.org/support/users/matthiaswagner/)
 * (@matthiaswagner)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/caching-plugin-wp-rocket/#post-11178169)
 * thank you for sharing the information with us 🙂

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Caching plugin (WP-Rocket)’ is closed to new replies.

 * ![](https://ps.w.org/multiple-domain-mapping-on-single-site/assets/icon-256x256.
   png?rev=1595238)
 * [Multiple Domain Mapping on Single Site](https://wordpress.org/plugins/multiple-domain-mapping-on-single-site/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/multiple-domain-mapping-on-single-site/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/multiple-domain-mapping-on-single-site/)
 * [Active Topics](https://wordpress.org/support/plugin/multiple-domain-mapping-on-single-site/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/multiple-domain-mapping-on-single-site/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/multiple-domain-mapping-on-single-site/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [caching](https://wordpress.org/support/topic-tag/caching/)
 * [domain mapping](https://wordpress.org/support/topic-tag/domain-mapping/)
 * [WP Rocket](https://wordpress.org/support/topic-tag/wp-rocket/)

 * 7 replies
 * 4 participants
 * Last reply from: [matthias.wagner](https://wordpress.org/support/users/matthiaswagner/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/caching-plugin-wp-rocket/#post-11178169)
 * Status: resolved