Cannot remove 301 redirect

后端 未结 6 983
滥情空心
滥情空心 2020-12-16 13:59

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

6条回答
  •  盖世英雄少女心
    2020-12-16 14:51

    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.

提交回复
热议问题