Changed in htacces and now cant log in
-
Hi,
I have a website (https://koereskole-svendborg.dk/) – as default it did not have www in front og the url and I tested some different htacces such the one below with no succes. I did not change any setting in WordPress where it is set to not have www in front on the urls.
After testing the htacces below in put in the original htacces – see below. But now I cant login on my wordpress installation anymore – what do I do to login and to solve the htacces issue?
RewriteEngine on
RewriteCond %{HTTP_HOST} !^$
RewriteCond %{HTTP_HOST} ^www.(.+)$ [NC]
RewriteRule ^/(.*) https://%1/$1 [L,R=301]Original:
# 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># END WordPress
- The topic ‘Changed in htacces and now cant log in’ is closed to new replies.