• Resolved annnnnt

    (@annnnnt)


    Hi, error when trying to activate the plugin. I have set the .htaccess permissions to 777 and add the provided codes to .htaccess but still not working

    Error message below:

    Warning: copy(.htaccess_lscachebak_orig): failed to open stream: Permission denied in ../wp-content/plugins/litespeed-cache/admin/litespeed-cache-admin-rules.class.php on line 348 ERROR 9042: .htaccess file not writable.

    Please add/replace the following codes into the beginning of .htaccess:
    # BEGIN LSCACHE
    ## LITESPEED WP CACHE PLUGIN – Do not edit the contents of this block! ##
    <IfModule LiteSpeed>
    RewriteEngine on
    CacheLookup on
    RewriteRule .* – [E=Cache-Control:no-autoflush]
    RewriteRule ^min/\w+\.(css|js) – [E=cache-control:no-vary]

    ### marker CACHE RESOURCE start ###
    RewriteRule wp-content/.*/[^/]*(responsive|css|js|dynamic|loader|fonts)\.php – [E=cache-control:max-age=3600]
    ### marker CACHE RESOURCE end ###

    ### marker FAVICON start ###
    RewriteRule favicon\.ico$ – [E=cache-control:max-age=86400]
    ### marker FAVICON end ###

    </IfModule>
    ## LITESPEED WP CACHE PLUGIN – Do not edit the contents of this block! ##
    # END LSCACHE

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Fatal Error’ is closed to new replies.