Title: [Plugin: W3 Total Cache] Problem with Apache Alias
Last modified: August 19, 2016

---

# [Plugin: W3 Total Cache] Problem with Apache Alias

 *  Resolved [Amir Helzer](https://wordpress.org/support/users/amirhelzer/)
 * (@amirhelzer)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-problem-with-apache-alias/)
 * Everything works fine when the site is in the DocumentRoot (the normal configuration).
 * When I use the Alias directive, W3TC tries to adjust .htaccess in the wrong directory.
 * In my case, DocumentRoot goes to a completely different directory on the server.
   WordPress is served from the Alias.
 * Looks like W3TC checks the DocumentRoot from the environment variables. Instead,
   it should use the WP variable that says where WP is installed.

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

 *  Plugin Contributor [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * (@fredericktownes)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-problem-with-apache-alias/#post-1612668)
 * Can you submit a bug submission form from the support tab of the plugin? Your
   apache configuration is also of interest.
 *  Thread Starter [Amir Helzer](https://wordpress.org/support/users/amirhelzer/)
 * (@amirhelzer)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-problem-with-apache-alias/#post-1612742)
 * Sure, thanks!
 *  Plugin Contributor [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * (@fredericktownes)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-problem-with-apache-alias/#post-1612868)
 * This will be changed in the next release.

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

The topic ‘[Plugin: W3 Total Cache] Problem with Apache Alias’ is closed to new 
replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * Last activity: [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-problem-with-apache-alias/#post-1612868)
 * Status: resolved