Title: htaccess settings
Last modified: August 30, 2016

---

# htaccess settings

 *  [SEOJay](https://wordpress.org/support/users/seojay/)
 * (@seojay)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/htaccess-settings-1/)
 * Currently, I’m running into an issue where trailing slashes are only handled 
   and redirected properly when I’m logged into the site as an admin.
 * Example:
 * [http://www.site.com/example](http://www.site.com/example)
    will automatically
   redirect to [http://www.site.com/example/](http://www.site.com/example/)
 * When logged in. The latter url is what I’m shooting for.
 * However, when viewing the site normally, both [http://www.site.com/example](http://www.site.com/example)
   and [http://www.site.com/example/](http://www.site.com/example/) is accessible
   and does not redirect. This occurs across all pages.
 * I just noticed that w3 has its own htaccess file and settings. Will it over-ride
   my settings from an htaccess plugin? If so, could the htacess settings within
   W3 be what’s causing this issue? I know a lot of my performance settings are 
   turned off when I’m logged in, so wondering if something that’s “on” when logged
   out is causing this change.
 * Any advice is appreciated. Thanks.
 * [https://wordpress.org/plugins/w3-total-cache/](https://wordpress.org/plugins/w3-total-cache/)

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

 *  [Kimberly](https://wordpress.org/support/users/amiga500/)
 * (@amiga500)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/htaccess-settings-1/#post-6760216)
 * So when u disable w3tc does the problem disappear?
 * In WordPress admin page (i believe it was “General”) did u include the trailing
   slash for your “Site Url”?
 * It would be very easy to do a mod_rewrite to fix this but i am curious and want
   to see if its w3tc.
 *  Thread Starter [SEOJay](https://wordpress.org/support/users/seojay/)
 * (@seojay)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/htaccess-settings-1/#post-6760271)
 * For site address url, it automatically removes the trailing slash after I save
   it.
 * I haven’t tried disabling w3, will my settings be lost if I do this?
 *  Thread Starter [SEOJay](https://wordpress.org/support/users/seojay/)
 * (@seojay)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/htaccess-settings-1/#post-6760371)
 * I was able to turn off w3, but the problem is still there. Where and how should
   the rewrite be done? Thanks.

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

The topic ‘htaccess settings’ 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

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

 * 3 replies
 * 2 participants
 * Last reply from: [SEOJay](https://wordpress.org/support/users/seojay/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/htaccess-settings-1/#post-6760371)
 * Status: not resolved