• 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
    will automatically redirect to
    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 and 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/

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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

    (@seojay)

    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

    (@seojay)

    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.