W3 Total Cache
[resolved] W3 and Thesis: Losing Canonicalization to force WWW when W3 is activated (4 posts)

  1. knockoutclean
    Posted 5 years ago #

    It works when I'm in admin, but as soon as I log out I lose the redirect to www. When I deactivate the W3, my site goes back to redirecting. Any ideas of what I can do? These are default settings causing this on two of my Thesis Theme websites.

    Thank you,

  2. Frederick Townes
    Plugin Author

    Posted 5 years ago #

    Can you paste your .htaccess file here?

  3. Virendar
    Posted 5 years ago #

    I had the same problem. To fix, add at the top of .htaccess BEFORE the w3tc stuff :

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^domain.com [NC]
    RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301]

  4. seriocomic
    Posted 5 years ago #

    My .htaccess redirects were overwritten by the W3TC plugin.

    I've added the redirect back manually into the .htaccess (at the top, inside some comment blocks) so will see if this is maintained.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • W3 Total Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic