I stupidly did a 301 redirect on websiteA.com to websiteB.com. After removing it from the .htaccess file the redirect is still in operation. I tried from outside the local n
I know this is an old post but i spent some time on the Web and my server to find the answer.
If you created an .htaccess file with a permanent redirection, the server will copy this redirection in the following file : "/var/.htaccess".
You have to edit this file to remove the redirection before cleaning the cache of your browser.
It worked on my Debian Jessie.