5 Replies Latest reply: Mar 4, 2013 4:28 PM by MurraySummers RSS

    Dreamweaver redirects me to another website when I try to preview current in Dev.

    cmilianxp

      I know this is a very rare event!

       

      Dreamweaver redirects me to another website when I try to preview current in Dev site. All I am doing is having my index.php on screen. Clock on PReview in browser, I choose IE or Safari and they both open another website I have never seen in my life! I get this in both my Mac and May PC Dreamweaver.

       

      Ideas?

        • 1. Re: Dreamweaver redirects me to another website when I try to preview current in Dev.
          MurraySummers CommunityMVP

          Let's see the code on the index.php page, please - and since the redirect *could* be happening in the PHP, we'd need to see that code too.

          • 2. Re: Dreamweaver redirects me to another website when I try to preview current in Dev.
            cmilianxp Community Member

            <!doctype html>

            <html>

            <head>

            <meta charset="utf-8">

            <title>Beatriz Silva | Spirit of Brazil</title>

            <style type="text/css">

            body,td,th {

                      font-family: "Arial Black", Gadget, sans-serif;

                      font-size: 12px;

                      color: #000;

            }

            body {

                      background-image: url(Images/Beatriz-Silva-for-web.jpg);

                      background-repeat: no-repeat;

                      margin-top: 20px;

                      background-attachment: fixed;

                      background-size: cover;

            }

            nav {

                      position: absolute;

                      left: 5%;

                      top: 56px;

                      width: 90%;

                      height: 22px;

                      z-index: 1;

                      background-color: rgba(212,161,142,0.3);

                      color: #C2854A;

                      text-align: right;

                      margin: 5px;

                      font-style: normal;

                      font-size: 18px;

                      background-image: none;

                      border-radius: 0px 20px 20px 0px;

                      padding-top: 5px;

                      padding-right: 10px;

                      padding-bottom: 8px;

                      padding-left: 5px;

            }

            article {

                      position: relative;

                      left: 0px;

                      top: 650px;

                      width: 650px;

                      height: auto;

                      z-index: 2;

                      text-align: center;

                      color: #000000;

                      font-size: 16px;

                      float: right;

                      vertical-align: bottom;

                      padding: 5px;

                      margin-top: auto;

                      margin-right: 50px;

                      margin-bottom: 50px;

                      margin-left: auto;

                      bottom: 10px;

                      right: 20px;

                      font-family: "Arial Black", Gadget, sans-serif;

            }

            #Logo {

                      position: absolute;

                      left: 5%;

                      top: 16px;

                      width: 292px;

                      height: 92px;

                      z-index: 3;

                      background-image: url(Images/logo.png);

                      background-repeat: no-repeat;

            }

            .fancy {

            }

            </style>

            <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css">

            <style type="text/css">

            #apDiv1 {

                      position: absolute;

                      left: 999px;

                      top: 7px;

                      width: 230px;

                      height: 42px;

                      z-index: 4;

            }

            #apDiv2 {

                      position: absolute;

                      left: 1029px;

                      top: 11px;

                      width: 200px;

                      height: 45px;

                      z-index: 4;

                      float: right;

            }

            </style>

            <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>

            </head>

             

             

            <body bgcolor="#FFFFFF">

             

             

            <nav>

              <ul id="MenuBar1" class="MenuBarHorizontal">

                <li><a href="index.php">home</a>    </li>

                <li><a href="about.php">about</a></li>

                <li><a href="gallery.php">gallery</a>    </li>

                <li><a href="contact.html">contact</a></li>

              </ul>

            </nav>

            <article>

              <p>JOHN 14:13 <BR>

              "Personality can open doors, <br>

              but only character can keep them open" <BR>

                <BR>

              </p>

            </article>

            <div id="Logo"></div>

            <div id="apDiv2">

            <div class="share42init" id="sharediv"></div>

            <script type="text/javascript" src="http://beatrizsilva.models-hub.com/share42/share42.js"></script></div>

            <h2><br>

            </h2>

            <p><BR>

            </p>

            <script type="text/javascript">

            var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});

            </script>

            </body>

            </html>

            • 4. Re: Dreamweaver redirects me to another website when I try to preview current in Dev.
              cmilianxp Community Member

              I must have been drunk, its not doing it any longer !

               

              Sorry for the troubles.

              • 5. Re: Dreamweaver redirects me to another website when I try to preview current in Dev.
                MurraySummers CommunityMVP

                I'll have some of what you are drinking!

                 

                Good luck.