EnjoyNet
asked on
Website Redirection
Hi Experts,
I have IIS server. I use a index file with both HTML and Java codes as following:
and
Do you have any suggestion?
Thank you very much in advance,
EN
I have IIS server. I use a index file with both HTML and Java codes as following:
<meta http-equiv="Refresh" content="5; url=http://google.com" frameborder="0">
and
<!DOCTYPE html>
<html>
<body>
<script type="text/javascript">
// Javascript URL redirection
window.location.replace("http://google.com/");
</script>
</body>
</html>
Both redirections work for Chrome and IE, but not for Safari.Do you have any suggestion?
Thank you very much in advance,
EN
ASKER
I did. But Safari still wouldn't work. Thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I did. unluck. Thanks
location.replace and location.href work fine on Safari.
this line of code are not reached because another error in your javascript code
open the Safari debugger console to locate this error to fix it
this line of code are not reached because another error in your javascript code
open the Safari debugger console to locate this error to fix it
ASKER
Hi leakim971,
Could you please share your codes which work for Safari?
Thank you so much in advance,
EN
Could you please share your codes which work for Safari?
Thank you so much in advance,
EN
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Add IIS_IUSRS read right into Web folder. Thank you so much.
Open in new window