I changed .htaccess, success, now I want to change it back. No success

Avatar
  • Answered
I changed .htaccess to redirect my domain to an other domain. That worked. I used :
RewriteEngine on
RewriteCond %{HTTP_HOST} ^example.com [NC,OR]
RewriteCond %{HTTP_HOST} ^www.example.com [NC]
RewriteRule ^(.*)$ http://example.net/$1 [L,R=301,NC]

I locked myself out of my website with this. I tried to change things back, but that won't work.
I know that somewhere Apache holds the reference to the new site and ignores the new changes somehow.
Please help me to find out how I can change it back.
Avatar
IMH Support Agent 5

Hello,

Thank you for your question about editing .htaccess files. Have you tried clearing the browser cache?

Best,

Christopher M.