Revert 301 redirect

0

In the index.php file, I accidentally wrote the following code:

<?php

header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.habbo.com.br");
?>

The redirect was meant to be only temporary. Now, even deleting the file and creating another one I can no longer do to load the page in that same index.php file.

How do I reverse this?

    
asked by anonymous 16.12.2017 / 01:01

1 answer

0

Go to the .htaccess file and change from:

  

RewriteRule ^% 1 [L, R = 301]

for

RewriteRule ^ %1 [L,R=307]
    
13.12.2018 / 17:38