Forum Moderators: phranque
redirect 301 /index.php [mysite.com...]
then I put
#redirect 301 /index.php [mysite.com...]
to stop the redirect and it quit working. I worked earlier today just fine. Help would be SO VERY MUCH appreciated.
EDIT:
I just figured out that I can go to index.php manually, but the javascript redirect seems to think that the htaccess is still redirecting. How can I get around this?
Java:
<head>
<link rel="stylesheet" href="styles.css" type="text/css" />
<script type="text/javascript">
<!--
function delayer(){
window.location = "http://www.mysite.com/index.php"
}
//-->
</script>
</head>
<body onload="setTimeout('delayer()', 5000)">
Regarding:
But when I took off the 301 redirect in .htaccess, the construction page won't go to index, and when I go to index it redirects me to construction with no 301 redirect in the .htaccess.
Did you remember to flush your browser cache prior to testing the "remark out" line?