Support » Plugin: W3 Total Cache » [Plugin: W3 Total Cache] The way W3 handles htaccess

  • I was wondering what the reasons are why W3 modifies the htaccess in a way that it puts the 301 redirects between W3 codes? Wouldnt it be better to have all the redirects remain at the top before any W3 stuff?

    Also, why does W3 create a huge blank space between the end of the 301 redirects and the second W3 entries (starting with # BEGIN W3TC Skip 404 error handling by WordPress for static files <IfModule mod_rewrite.c>)? Is this just me or does it create this blank space for everyone? It seems to get bigger and bigger the more I tweak W3 settings in wordpress.

    At the end of the htaccess, after the last W3 entry, I have the avoid hotlinking command. Is this the best place for them? Thanks for any insight you guys can share on this.

Viewing 1 replies (of 1 total)
  • Plugin Author Frederick Townes


    The intention was for W3TC rules to appear directly above the WordPress fancy link directives, but it’s not perfect and improves with each release. The best place for your custom directives is at the top of the file.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: W3 Total Cache] The way W3 handles htaccess’ is closed to new replies.