Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: redirect problem

  1. #1
    Join Date
    May 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default redirect problem

    hello, i want that when i enter for example this address:
    http://ddlland.be/news.php?readmore=1
    it would redirect to:
    http://free.extm.be/news.php?readmore=1
    what should i do?

  2. #2
    Join Date
    Dec 2005
    Location
    Canada
    Posts
    82
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    You should use the Dynamic Splash Screen Effect.

    The code is here: http://www.dynamicdrive.com/dynamici...amicsplash.htm

  3. #3
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Er, no, you shouldn't.

    You should be able to configure your webserver to do this for you.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  4. #4
    Join Date
    Dec 2005
    Location
    Canada
    Posts
    82
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Why wouldn't you be able to use the splash effect? Or, a better question, how do you configure it to do this for you?

  5. #5
    Join Date
    May 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    so can someone write the php code for me???

  6. #6
    Join Date
    May 2006
    Posts
    259
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default

    I'm not sure what you mean but this comes to mind.
    Just place it under your <body>

    <body onLoad="MM_goToURL('parent','http://free.extm.be/news.php?readmore=1');return document.MM_returnValue">
    <div align="center"><strong>Loading.... Please wait!</strong><br>
    (If nothing happens in 10 seconds please click <a href="http://free.extm.be/news.php?readmore=1"><strong>here</strong></a>)</div>
    "Only dead fish flow with the stream".
    - Unknown

  7. #7
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Why wouldn't you be able to use the splash effect?
    Because that's not what the OP asked for. S/he wants a way to redirect all requests from one domain to another, without otherwise changing the request. How this would be accomplished depends on the webserver.

    Imm0r7taL: PHP is not the ideal solution here.

    Jack: That's not only not what's been asked for, it won't even work, since it relies on an external function.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  8. #8
    Join Date
    May 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Twey
    Because that's not what the OP asked for. S/he wants a way to redirect all requests from one domain to another, without otherwise changing the request.
    yes u're right... so is there any solutions to resolve my problem?

  9. #9
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    As I said:
    How this would be accomplished depends on the webserver.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  10. #10
    Join Date
    May 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i've asked for help from my hosting provider, but he said that i need to put php redirection script to news.php file... so i need the php script :|
    can someone help me? pls
    Last edited by ImmOr7aL; 05-18-2006 at 05:10 PM.

Bookmarks

Posting Permissions

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