Changing the htacces. file – Redirect loop
-
After installing the plugin everything worked fine. But when going to the setting the plugin recommends to change the redirect from java to htacces. but when adding the following code i cant make a connection to the website.
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^(.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
</IfModule>Perhaps i am not doing it right? my htaccces. file is the standard wordpress code. This is what my htacces file looks like:
# 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><IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^(.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
</IfModule>
# END WordPressThis is what my browser says: Deze webpagina bevat een omleidingslus
I also tried adding the following rule to my wp-config.php file:
define( ‘RLRSSSL_DO_NOT_EDIT_HTACCESS’ , TRUE );
But that also doesn’t work..
- The topic ‘Changing the htacces. file – Redirect loop’ is closed to new replies.