Title: Apache Alias support problem with Path string
Last modified: August 30, 2016

---

# Apache Alias support problem with Path string

 *  [loudmouthman](https://wordpress.org/support/users/loudmouthman/)
 * (@loudmouthman)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/apache-alias-support-problem-with-path-string/)
 * W3TC Will install correctly; e.g. install wp-config.php changes as well as place
   dropins into the wp-content folder however it will fail to write to .htaccess
   if the alias path does not match the file path ; note the server configured documentroot
   is a different path on the same folder level as the aliases.
 * For proof I created a new installation of wordpress and modified the path in 
   the alias.
 *  ServerName [http://www.testalias.com](http://www.testalias.com)
    Alias /testalias/
   var/www/ta DocumentRoot /var/www/testaliasroot <Directory /var/www/ta > Options
   +ExecCGI +FollowSymLinks +MultiViews AllowOverride all Order allow,deny allow
   from all </Directory>
 * If the wordpress installation is uses Alias /testalias /var/www/testalias and
   the wordpress is installed in /var/www/testalias then the w3tc find the .htaccess
   file and works as expected.
 * if the wordpress installation uses Alias /testalias /var/www/ta and the worpress
   installation is in /var/www/ta then the .htaccess file will be incorrectly reported.
 * There is a patch I have pointed to before [https://wordpress.org/support/topic/pull-request-add-support-for-apache-alias?replies=2](https://wordpress.org/support/topic/pull-request-add-support-for-apache-alias?replies=2)
 * Which suggests that the code needs to be caught up with Apache Aliases.
 * [https://wordpress.org/plugins/w3-total-cache/](https://wordpress.org/plugins/w3-total-cache/)

The topic ‘Apache Alias support problem with Path string’ 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/)

## Tags

 * [alias](https://wordpress.org/support/topic-tag/alias/)
 * [apache](https://wordpress.org/support/topic-tag/apache/)
 * [W3TC](https://wordpress.org/support/topic-tag/w3tc/)

 * 0 replies
 * 1 participant
 * Last reply from: [loudmouthman](https://wordpress.org/support/users/loudmouthman/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/apache-alias-support-problem-with-path-string/)
 * Status: not resolved