
javiadrados24
Dseda
Redactor
Verificación en dos pasos activada
Verificado por Whatsapp
Hola amigos,
Estoy intentando corregir un error 404 e introducir el siguiente código en REDIRECT en el htaccess pero el error no se corrije. Qué estoy haciendo mal?
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]]
# 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]
Redirect https://www.domain.com/category/name https://www.domain.com
</IfModule>
Estoy intentando corregir un error 404 e introducir el siguiente código en REDIRECT en el htaccess pero el error no se corrije. Qué estoy haciendo mal?
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]]
# 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]
Redirect https://www.domain.com/category/name https://www.domain.com
</IfModule>