Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter vicentecid

    (@vicentecid)

    Genial Jose,

    No me he complicado y lo he puesto donde tu me has dicho, y parace que funciona a la perfección.

    Asi que podemos dar el ticke por cerrado.

    Gracias y ojala esto sirva para otros usuarios

    Un abarazo

    Thread Starter vicentecid

    (@vicentecid)

    Genial Jose,

    Pues si tu me dices que está está correcto, tiro con tu código que me parece brutal.

    # REDIRECCION CERTIFICADO SSL REDSYS POR JOSE CONTI
    RewriteEngine on
    RewriteCond %{QUERY_STRING} !^wc-api=WC_Gateway_redsys
    RewriteCond %{HTTPS} !=on [NC]
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
    # FIN REDIRECCION CERTIFICADO SSL REDSYS POR JOSE CONTI

    # 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
    # BEGIN NON_LSCACHE
    ## LITESPEED WP CACHE PLUGIN – Do not edit the contents of this block! ##
    ### marker BROWSER CACHE start ###
    <IfModule mod_expires.c>
    ExpiresActive on
    ExpiresByType application/pdf A2592000
    ExpiresByType image/x-icon A2592000
    ExpiresByType image/vnd.microsoft.icon A2592000
    ExpiresByType image/svg+xml A2592000

    ExpiresByType image/jpg A2592000
    ExpiresByType image/jpeg A2592000
    ExpiresByType image/png A2592000
    ExpiresByType image/gif A2592000
    ExpiresByType image/webp A2592000

    ExpiresByType video/ogg A2592000
    ExpiresByType audio/ogg A2592000
    ExpiresByType video/mp4 A2592000
    ExpiresByType video/webm A2592000

    ExpiresByType text/css A2592000
    ExpiresByType text/javascript A2592000
    ExpiresByType application/javascript A2592000
    ExpiresByType application/x-javascript A2592000

    ExpiresByType application/x-font-ttf A2592000
    ExpiresByType application/x-font-woff A2592000
    ExpiresByType application/font-woff A2592000
    ExpiresByType application/font-woff2 A2592000
    ExpiresByType application/vnd.ms-fontobject A2592000
    ExpiresByType font/ttf A2592000
    ExpiresByType font/woff A2592000
    ExpiresByType font/woff2 A2592000

    </IfModule>
    ### marker BROWSER CACHE end ###

    ### marker MINIFY start ###
    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} ^(.*)/min/(\w+)\.(css|js)$
    RewriteCond %1/wp-content/cache/$2/$1.$2 -f
    RewriteRule min/(\w+)\.(css|js) wp-content/cache/$2/$1.$2 [L]
    </IfModule>
    ### marker MINIFY end ###

    ## LITESPEED WP CACHE PLUGIN – Do not edit the contents of this block! ##
    # END NON_LSCACHE

    # 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

    Y espero que sirva para el resto de usuarios

    Muchas gracias Jose

    Thread Starter vicentecid

    (@vicentecid)

    Gracias Jose por tu rapidez en contestar y por lo bien que lo explicas.

    El plugin lo desinstalo, si tengo el certificado instalado en el servidor y además hago el redireccionamiento que tu me indicas el plugin me sobra.

    Disculpa si te vuelvo a preguntar.

    ¿El redireccionamiento que me indicas no da problemas en servidor LiteSpeed?

    ¿El redireccionamiento que me indicas no da problemas con los plugin LiteSpeed Caché y Autoptimize?

    En este post redactado por ti https://redsys.joseconti.com/diferencias-entre-las-versions-de-redsys-para-woocommerce/ explicas con gráficos y muy bien detallados las comparativas entre la versión gratuita y la de pago tildando que la versión premiun si soporta Let’s Encrypt.

    Gracias de nuevo y cordial saludo

    Thread Starter vicentecid

    (@vicentecid)

    Hola José Conti, Fenomenal

    3 preguntuas

    ¿Al decir antes del propio que añade WordPress se refiere a que lo coloque al principio del htaccess?
    ¿El que da el plugin por defecto lo sigo borrando verdad?
    ¿Con la versión premiun de Redsys me puedo evitar todo esto?

    Gracias de nuevo

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