Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    May 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Redirect Scripting Help

    As you can tell from the scenario below, my ability to use javascript is limited to cutting-n-pasting existing scripts found online. I have been unable to find anything online thus far that solves my problem, so any assistance from this forum would be much appreciated.

    I have domain A pointing to domain B. My web hosting service for domain B will only allow the pointing domain (A) to go to the default/index page of B. I would like to have the pointing domain (A) go to a page on B, other than the main/index page. The web host's recommended solution was to place a general redirect script on the default/index page, but this would redirect ALL visitors, instead of just those trying to get to domain A.

    Is there a script that will redirect visitors requesting domain A ONLY, and not all visitors to domain B???

    Thank you!!!

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,035
    Thanks
    203
    Thanked 2,539 Times in 2,517 Posts
    You can use META REFRESH in your domainA index.html file which will redirect to another page:

    <html>
    <head>
    <meta http-equiv="REFRESH" content="0; URL=http://www.domainB.com/myotherpage.html">
    </head>
    </html>

    If you want a delay replace 0 by the number of seconds delay required.

  • #3
    New to the CF scene
    Join Date
    May 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for the reply Philip. Problem is domain A is simply parked and pointed to domain B. Not technically hosted, so I have no ability to edit/alter code on domain A.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •