Redirect Webpage without changing URL

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jibisofts
    New Member
    • Jul 2007
    • 1

    Redirect Webpage without changing URL

    I want that when I open my site www.jibisofts.c om it redirect to another website and the address on url should be same that is www.jibisofts.c om not the address of other site.

    Both website is mine but in another website I have the space.
    So please suggest me the answer as soon as possible.
  • Mague
    New Member
    • May 2007
    • 137

    #2
    I dont have a clue? I would be very intrested how you do it thought.

    Comment

    • nitinpatel1117
      New Member
      • Jun 2007
      • 111

      #3
      Hi,

      i don't know any HTML ways of doing it, but you can do it this way

      Tell the people/company that is hosting your www.jibisofts.com website to point their servers (i.e. your www.jibisofts.com site) to your other site.

      This way your www.jibisofts.com website will be same as the other website but will keep the www.jibisofts.com urll in the address bar.

      I think it's called DNS entry or something along those lines

      Comment

      • drhowarddrfine
        Recognized Expert Expert
        • Sep 2006
        • 7434

        #4
        Redirect is a function of the server but I don't recall if you can change the url in the address bar. One issue is with illegal activities by hijacking page requests.

        Comment

        • harshmaul
          Recognized Expert Contributor
          • Jul 2007
          • 490

          #5
          What i would do is put the entire page in a framset and then set the source of the frame to the "other web site" i have to agree with the person above me it all sounds a little too "URL HIJACKING" if you ask me!

          [CODE]
          <html>
          <frameset cols="100%">
          <frameset rows="100%">
          <frame src="http://www.google.com" />
          </frameset>
          </frameset>
          </html>


          [CODE]

          Comment

          • nomad
            Recognized Expert Contributor
            • Mar 2007
            • 664

            #6
            Originally posted by jibisofts
            I want that when I open my site www.jibisofts.c om it redirect to another website and the address on url should be same that is www.jibisofts.c om not the address of other site.

            Both website is mine but in another website I have the space.
            So please suggest me the answer as soon as possible.
            I don't think there is no way you can get around this.
            The close ideal i can come up is this.

            [HTML]
            <META http-equiv=refresh content=5;URL=h ttp://www.Your site.com>
            <SCRIPT language=JavaSc ript>
            <!-- Begin
            startday = new Date();
            clockStart = startday.getTim e();
            function initStopwatch() {
            var myTime = new Date();
            var timeNow = myTime.getTime( );
            var timeDiff = timeNow - clockStart;
            this.diffSecs = timeDiff/1000;
            return(this.dif fSecs); }
            function getSecs() {
            var mySecs = initStopwatch() ;
            var mySecs1 = ""+mySecs;
            mySecs1 = mySecs1.substri ng(0,mySecs1.in dexOf(".")) + " secs.";
            document.form1. timespent.value = mySecs1
            window.setTimeo ut('getSecs()', 1000); }
            // End -->
            </SCRIPT>
            <BODY vLink=#0000ff bgColor=#ffffff onload="window. setTimeout('get Secs()',1)">
            [/HTML]

            Then add something like this...
            You can click on the new address or the logo now or it will automatically sent you there in 5 seconds.

            nomad

            Comment

            • Mague
              New Member
              • May 2007
              • 137

              #7
              Originally posted by nomad
              I don't think there is no way you can get around this.
              The close ideal i can come up is this.

              [HTML]
              <META http-equiv=refresh content=5;URL=h ttp://www.Your site.com>
              <SCRIPT language=JavaSc ript>
              <!-- Begin
              startday = new Date();
              clockStart = startday.getTim e();
              function initStopwatch() {
              var myTime = new Date();
              var timeNow = myTime.getTime( );
              var timeDiff = timeNow - clockStart;
              this.diffSecs = timeDiff/1000;
              return(this.dif fSecs); }
              function getSecs() {
              var mySecs = initStopwatch() ;
              var mySecs1 = ""+mySecs;
              mySecs1 = mySecs1.substri ng(0,mySecs1.in dexOf(".")) + " secs.";
              document.form1. timespent.value = mySecs1
              window.setTimeo ut('getSecs()', 1000); }
              // End -->
              </SCRIPT>
              <BODY vLink=#0000ff bgColor=#ffffff onload="window. setTimeout('get Secs()',1)">
              [/HTML]

              Then add something like this...
              You can click on the new address or the logo now or it will automatically sent you there in 5 seconds.

              nomad

              I agree with normad. use his code

              Comment

              Working...