Activity

  • Tomas Tamayo replied to the question Icons missing in a multisite instalation in the forum OneSocial theme 8 years ago

    This is the .htaccesss file I have. How should it look like?
    Thank you. 😉

    # BEGIN s2Member GZIP exclusions
    <IfModule rewrite_module>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{QUERY_STRING} (^|?|&)s2member_file_download=.+ [OR]
    RewriteCond %{QUERY_STRING} (^|?|&)no-gzip=1
    RewriteRule .* - [E=no-gzip:1]
    </IfModule>
    # END s2Member GZIP exclusions

    # 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>

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index.php$ - [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*.php)$ $1 [L]
    RewriteRule . index.php [L]
    # END WordPress