Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter bakerbrothertv

    (@bakerbrothertv)

    Actually I think I already that same code. This is what I’ve got:

    `# Use PHP5.4 Single php.ini as default
    AddHandler application/x-httpd-php54s .php
    # BEGIN W3TC Browser Cache
    <IfModule mod_deflate.c>
    <IfModule mod_headers.c>
    Header append Vary User-Agent env=!dont-vary
    </IfModule>
    AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
    <IfModule mod_mime.c>
    # DEFLATE by extension
    AddOutputFilter DEFLATE js css htm html xml
    </IfModule>
    </IfModule>
    # END W3TC Browser Cache

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Thread Starter bakerbrothertv

    (@bakerbrothertv)

    Alright, I’e found the .htaccess file although it says ‘mod_headers’ and some other stuff. What do I need to change?

    Thread Starter bakerbrothertv

    (@bakerbrothertv)

    How do I set mod_rewrite rules? I usually just work through wordpress rather than accessing the root directory.

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