Plugin rules not working in .htaccess
-
Hi there!
I’m using Apache server, the plugin has copied my “apache group” redirects into .htaccess file (see below) but when I deactivate the plugin all the redirections stops working. It’s strange because the WP written redirect rules work perfectly in .htaccess. Is there a way to make the plugin rules work in .htaccess without activating the plugin?
Thanks in advance!# Created by Redirection
# Wed, 06 Nov 2024 13:16:56 +0000
# Redirection 5.5.0 - https://redirection.me
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteRule ^wp/6103/?$ /wp/do/radio/active-speaker [R=301,L,NC]
RewriteRule ^wp/5816/?$ /wp/photo/do/praktiflex [R=301,L,NC]
RewriteRule ^wp/6128/?$ https://localhost/wp/do/radio/tonearm [R=301,L,NC]
RewriteRule ^wp/6132/?$ https://localhost/wp/do/radio/lpf [R=301,L,NC]
RewriteRule ^wp/6148/?$ https://localhost/wp/do/radio/testing [R=301,L,NC]
RewriteRule ^wp/6150/?$ https://localhost/wp/do/radio/capacitor [R=301,L,NC]
RewriteRule ^wp/6177/?$ https://localhost/wp/do/radio/contours [R=301,L,NC]
RewriteRule ^wp/214/?$ https://localhost/wp/do/acoustic/tools [R=301,L,NC]
RewriteRule ^wp/6162/?$ https://localhost/wp/do/acoustic/varnish [R=301,L,NC]
</IfModule>
# End of Redirection
# 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.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /wp/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wp/index.php [L]
</IfModule>
# END WordPress
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.