Hi all
has any one had the problem of when using 1and1 to host your sites the url does not change when you move around your sites.
I contacted 1and1 regarding this and they sent me this fix
> To disable URL masking please add these codes to your domains index
> file.
>
> <SCRIPT language="JavaScript"> <!-- if (parent.frames.length > 0) {
> parent.location.href = location.href } //--> </SCRIPT>
>
> It should then look like this:
>
> <HTML><HEAD><TITLE></TITLE></HEAD> <meta http-equiv="refresh"
> content="0;URL=index.php4"> <SCRIPT language="JavaScript"> <!-- if
> (parent.frames.length > 0) { parent.location.href = location.href }
> //--> </SCRIPT> <BODY> <BR> </BODY> </HTML>
I tried placing it into Act_Primary.html & Act_BrouchurePrimary.html but I still get the same problem
Does anyone know how to fix it
I also noticed that when I try to view the source code on the live site al i get is
<!--%1&1 IN2SITE FRAME%-->
<HTML><HEAD><SCRIPT>
vcn="is1091493";
vdb="DB082";
vsu="index.html";
vlg="1";
vtz="Europe/Berlin";
vev="";
vn=navigator;vnn=vn.appName.toLowerCase();
vnp=vn.platform.toLowerCase();vnv=parseInt(vn.appVersion);
vlh=location.href;if((vlh)&&(vlh.indexOf("?")!=-1)){vlh=vlh.split("?");vsu=vlh[1];};
if(vnn.indexOf("netscape")!=-1){if(vnv>4){vnn="ge";}else{vnn="ns";}}else if(vnn.indexOf("explorer")!=-1){vnn="ie";}else{vnn="ns";}
if(vnp.indexOf("mac")!=-1){vnp="mc";}else{vnp="pc";}
function vra(){if((typeof(VARITS9002.ALARM)=="number")){return VARITS9002.ALARM;}else{return 0;}};
function voc(){window.open("http://connect-"+vdb+".in2site.asc-server.com/LC/?S="+VARITS9001.VARITS13+"&U="+vcn+"&B="+vdb,"OC","status=no,scrollbars=no,width=250,height=100,left=0,top=0,dependent=no");};
</SCRIPT></HEAD><SCRIPT>
document.write("<FRAMESET ROWS=\"100%,*\" BORDER=\"0\" FRAMEBORDER=\"0\">");
document.write("<FRAME SRC=\"/"+vsu+"\" NAME=\"VARITS9002\" NORESIZE>");
document.write("<FRAME SRC=\"/.i2s_system/jss."+vnn+"."+vnp+".html\" NAME=\"VARITS9001\" NORESIZE>");
document.write("<\/FRAMESET>");
</SCRIPT><NOSCRIPT>
<A HREF="/index.html" TARGET="_top">Start</A>
</NOSCRIPT><NOFRAMES>
<A HREF="/index.html" TARGET="_top">Start</A>
</NOFRAMES></HTML>
<!--%1&1 IN2SITE FRAME%-->
Looks like 1and1 out my page into their frame for what ever reason.
Is this common as it's the first time that I have came across this setup ?
has any one had the problem of when using 1and1 to host your sites the url does not change when you move around your sites.
I contacted 1and1 regarding this and they sent me this fix
> To disable URL masking please add these codes to your domains index
> file.
>
> <SCRIPT language="JavaScript"> <!-- if (parent.frames.length > 0) {
> parent.location.href = location.href } //--> </SCRIPT>
>
> It should then look like this:
>
> <HTML><HEAD><TITLE></TITLE></HEAD> <meta http-equiv="refresh"
> content="0;URL=index.php4"> <SCRIPT language="JavaScript"> <!-- if
> (parent.frames.length > 0) { parent.location.href = location.href }
> //--> </SCRIPT> <BODY> <BR> </BODY> </HTML>
I tried placing it into Act_Primary.html & Act_BrouchurePrimary.html but I still get the same problem
Does anyone know how to fix it
I also noticed that when I try to view the source code on the live site al i get is
<!--%1&1 IN2SITE FRAME%-->
<HTML><HEAD><SCRIPT>
vcn="is1091493";
vdb="DB082";
vsu="index.html";
vlg="1";
vtz="Europe/Berlin";
vev="";
vn=navigator;vnn=vn.appName.toLowerCase();
vnp=vn.platform.toLowerCase();vnv=parseInt(vn.appVersion);
vlh=location.href;if((vlh)&&(vlh.indexOf("?")!=-1)){vlh=vlh.split("?");vsu=vlh[1];};
if(vnn.indexOf("netscape")!=-1){if(vnv>4){vnn="ge";}else{vnn="ns";}}else if(vnn.indexOf("explorer")!=-1){vnn="ie";}else{vnn="ns";}
if(vnp.indexOf("mac")!=-1){vnp="mc";}else{vnp="pc";}
function vra(){if((typeof(VARITS9002.ALARM)=="number")){return VARITS9002.ALARM;}else{return 0;}};
function voc(){window.open("http://connect-"+vdb+".in2site.asc-server.com/LC/?S="+VARITS9001.VARITS13+"&U="+vcn+"&B="+vdb,"OC","status=no,scrollbars=no,width=250,height=100,left=0,top=0,dependent=no");};
</SCRIPT></HEAD><SCRIPT>
document.write("<FRAMESET ROWS=\"100%,*\" BORDER=\"0\" FRAMEBORDER=\"0\">");
document.write("<FRAME SRC=\"/"+vsu+"\" NAME=\"VARITS9002\" NORESIZE>");
document.write("<FRAME SRC=\"/.i2s_system/jss."+vnn+"."+vnp+".html\" NAME=\"VARITS9001\" NORESIZE>");
document.write("<\/FRAMESET>");
</SCRIPT><NOSCRIPT>
<A HREF="/index.html" TARGET="_top">Start</A>
</NOSCRIPT><NOFRAMES>
<A HREF="/index.html" TARGET="_top">Start</A>
</NOFRAMES></HTML>
<!--%1&1 IN2SITE FRAME%-->
Looks like 1and1 out my page into their frame for what ever reason.
Is this common as it's the first time that I have came across this setup ?
Comment