Hola @Josvlaar
¿Podría verificar por favor debajo WordPress Admin → Configuración → Generaly confirmar si el Dirección de WordPress (URL) y Dirección del sitio (URL) Los campos están configurados en su dominio localizado (http://test.itwithme.ca
)? Si están actualmente configurados en https://test.itwithme.com
es probable que la redirección esté sucediendo.
Sí, ambos están configurados en el dominio .com. Pero antes esto no causó una redirección de .ca, solo cuando se inicia sesión a través del dominio .ca. Tal redirección no debería ocurrir en ningún caso, porque no puedo servir bloques condicionales a los dominios localizados de esta manera.
Este es el contenido de mi archivo .htaccess:
# 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/debug/.*\.log$ - [F,L]
RewriteRule \.litespeed_conf\.dat - [F,L]### marker ASYNC start ###
RewriteCond %{REQUEST_URI} /wp-admin/admin-ajax\.php
RewriteCond %{QUERY_STRING} action=async_litespeed
RewriteRule .* - [E=noabort:1]
### marker ASYNC end ###
### 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 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
# The directives (lines) between "BEGIN WordPress" and "END WordPress" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
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
php_value upload_max_filesize 1G
php_value post_max_size 1G
php_value memory_limit 2G
php_value max_execution_time 0
php_value max_input_time 0
# Wordfence WAF
php_value auto_prepend_file '/var/www/itwithmetest/wordfence-waf.php'
php_value auto_prepend_file '/var/www/itwithmetest/wordfence-waf.php'
php_value auto_prepend_file '/var/www/itwithmetest/wordfence-waf.php'
Require all denied
Order deny,allow
Deny from all
# END Wordfence WAF