Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter dankimi

    (@dankimi)

    Hello, I have managed to get it to work but only partially, my site has many pages and at the end errors occur, I have created the URLs through PHP with the language extensions es,fr,pt..ect..This is the way it seems to work since they are different urls, I will test it thoroughly and I will comment on it here

    Thread Starter dankimi

    (@dankimi)

    I have used it and AI helped me to make it work. I will read the documentation and try again.

    Thread Starter dankimi

    (@dankimi)

    I appreciate your help. I will look through the creator of the theme if it is possible to generate links for the fr/es/en languages, surely it could solve the problem. Greetings

    Thread Starter dankimi

    (@dankimi)

    I have omitted my domain for privacy reasons

    Thread Starter dankimi

    (@dankimi)

    RewriteEngine On RewriteCond %{REQUEST_URI} l= [NC] RewriteRule ^ - [CO=lscwp_lang:es_ES:%{HTTP_HOST}:604800:/] RewriteCond %{REQUEST_URI} l=en_US RewriteRule ^ - [CO=lscwp_lang:en_US:%{HTTP_HOST}:604800:/] RewriteCond %{REQUEST_URI} l=es_ES RewriteRule ^ - [CO=lscwp_lang:es_ES:%{HTTP_HOST}:604800:/] RewriteRule ^ - [E=Cache-Vary:%{ENV:LSCACHE_VARY_VALUE}+lscwp_lang]
    RewriteEngine On
    RewriteCond %{HTTP_HOST} midominio.com [NC]
    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://www.midominio.com/$1 [R,L] BEGIN LSCACHE LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block!
    
    
    RewriteEngine on
    CacheLookup on
    RewriteRule .* - [E=Cache-Control:no-autoflush]
    RewriteRule .litespeed_conf.dat - [F,L] marker FAVICON start
    
    RewriteRule favicon.ico$ - [E=cache-control:max-age=86400] marker FAVICON end marker WEBP start
    
    RewriteCond %{HTTP_ACCEPT} "image/webp"
    RewriteRule .* - [E=Cache-Control:vary=%{ENV:LSCACHE_VARY_VALUE}+webp]
    RewriteCond %{HTTP_USER_AGENT} iPhone.Version/(\d{2}).Safari
    RewriteCond %1 >13
    RewriteRule .* - [E=Cache-Control:vary=%{ENV:LSCACHE_VARY_VALUE}+webp] marker WEBP end marker DROPQS start
    
    CacheKeyModify -qs:fbclid
    CacheKeyModify -qs:gclid
    CacheKeyModify -qs:utm*
    CacheKeyModify -qs:_ga marker DROPQS end 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! LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! END NON_LSCACHE BEGIN WordPress Las directivas (líneas) entre «BEGIN WordPress» y «END WordPress» son generadas dinámicamente y solo deberían ser modificadas mediante filtros de WordPress. Cualquier cambio en las directivas que hay entre esos marcadores serán sobrescritas.
    
    RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] END WordPress BEGIN ShortPixelWebp Las directivas (líneas) entre «BEGIN ShortPixelWebp» y «END ShortPixelWebp» son generadas dinámicamente y solo deberían ser modificadas mediante filtros de WordPress. Cualquier cambio en las directivas que hay entre esos marcadores serán sobrescritas. END ShortPixelWebp BEGIN ShortPixel Adaptive Images Las directivas (líneas) entre «BEGIN ShortPixel Adaptive Images» y «END ShortPixel Adaptive Images» son generadas dinámicamente y solo deberían ser modificadas mediante filtros de WordPress. Cualquier cambio en las directivas que hay entre esos marcadores serán sobrescritas. END ShortPixel Adaptive Images
    • This reply was modified 2 years, 9 months ago by dankimi.
    Thread Starter dankimi

    (@dankimi)

    Hello! In the Htaccess file there are several lines of code from top to bottom, when I uploaded it here in the message everything appeared in one line, I don’t know the reason

    Thread Starter dankimi

    (@dankimi)

    Hello! I have uploaded the code that you provided me in an Htaccess file, I have purged everything and I have retested the page. Unfortunately the same problems continue to appear and it gives errors when the language changes are made, the problem surely comes from the fact that my theme does not Use different urls depending on the language eg: mydomain/fr, mydomain/es. What if my Htaccess file is located in the public_html root directory

    <IfModule LiteSpeed> RewriteEngine On RewriteCond %{REQUEST_URI} l= [NC] RewriteRule ^ - [CO=lscwp_lang:es_ES:%{HTTP_HOST}:604800:/] RewriteCond %{REQUEST_URI} l=en_US RewriteRule ^ - [CO=lscwp_lang:en_US:%{HTTP_HOST}:604800:/] RewriteCond %{REQUEST_URI} l=es_ES RewriteRule ^ - [CO=lscwp_lang:es_ES:%{HTTP_HOST}:604800:/] RewriteRule ^ - [E=Cache-Vary:%{ENV:LSCACHE_VARY_VALUE}+lscwp_lang] </IfModule> RewriteEngine On RewriteCond %{HTTP_HOST} midominio\.com [NC] RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.midominio.com/$1 [R,L] # 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 \.litespeed_conf\.dat - [F,L] ### marker FAVICON start ### RewriteRule favicon\.ico$ - [E=cache-control:max-age=86400] ### marker FAVICON end ### ### marker WEBP start ### RewriteCond %{HTTP_ACCEPT} "image/webp" RewriteRule .* - [E=Cache-Control:vary=%{ENV:LSCACHE_VARY_VALUE}+webp] RewriteCond %{HTTP_USER_AGENT} iPhone.*Version/(\d{2}).*Safari RewriteCond %1 >13 RewriteRule .* - [E=Cache-Control:vary=%{ENV:LSCACHE_VARY_VALUE}+webp] ### marker WEBP end ### ### marker DROPQS start ### CacheKeyModify -qs:fbclid CacheKeyModify -qs:gclid CacheKeyModify -qs:utm* CacheKeyModify -qs:_ga ### marker DROPQS 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! ## ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ## # END NON_LSCACHE # BEGIN WordPress # Las directivas (líneas) entre «BEGIN WordPress» y «END WordPress» son # generadas dinámicamente y solo deberían ser modificadas mediante filtros de WordPress. # Cualquier cambio en las directivas que hay entre esos marcadores serán sobrescritas. <IfModule mod_rewrite.c> RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress # BEGIN ShortPixelWebp # Las directivas (líneas) entre «BEGIN ShortPixelWebp» y «END ShortPixelWebp» son # generadas dinámicamente y solo deberían ser modificadas mediante filtros de WordPress. # Cualquier cambio en las directivas que hay entre esos marcadores serán sobrescritas. # END ShortPixelWebp # BEGIN ShortPixel Adaptive Images # Las directivas (líneas) entre «BEGIN ShortPixel Adaptive Images» y «END ShortPixel Adaptive Images» son # generadas dinámicamente y solo deberían ser modificadas mediante filtros de WordPress. # Cualquier cambio en las directivas que hay entre esos marcadores serán sobrescritas. # END ShortPixel Adaptive Images

    If I enter the home page of my page and select English and then go to one of the ads on the page, advertisement1, it correctly goes to advertisement1 in English. If I return to the home page and change to Spanish, the home page will appear in Spanish and if I go after a, announcement1, will appear in English and not in Spanish and that for all the pages. I have not seen a question in the entire forum in relation to what is happening to me and that is strange given the numerous installations that there are of litespeed cache and locotranslate

    Thread Starter dankimi

    (@dankimi)

    Thanks for your help! I will do what you tell me and I will notify you here of the result, I will not be able to do it until tomorrow. Greetings

    Thread Starter dankimi

    (@dankimi)

    Thanks for the speed in answering, the theme does not change the urls, for example to French mydomain/fr keeps the same url, I think it will be difficult to fix this, I will contact litespeed cache support to see if it is possible to do something. thanks for your help

    Thread Starter dankimi

    (@dankimi)

    The complement that it has active is LOCOTRANSLATE

    Thread Starter dankimi

    (@dankimi)

    Hello ! Thank you for your attention, the language selector appears in the upper right part (computers and tablets, mobile side menu in langue) comes with a French, English and Spanish flag selector

    Icono de Validado por la comunidad
    Thread Starter dankimi

    (@dankimi)

    Hello! I just sent you the report from the plugin the report number is: QXBXFCBP I hope you can help me. Thank you. Greetings

    Thread Starter dankimi

    (@dankimi)

    Hello! I just saw the answer now, very grateful for answering so quickly, if I have the page configured for three languages: French, Spanish, and English (the theme brings up to 8). As soon as possible I will send you the report. Thank you. All the best

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