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?
Printable View
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?
You should use the Dynamic Splash Screen Effect.
The code is here: http://www.dynamicdrive.com/dynamici...amicsplash.htm
Er, no, you shouldn't.
You should be able to configure your webserver to do this for you.
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?
so can someone write the php code for me???
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>
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.Quote:
Why wouldn't you be able to use the splash effect?
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.
yes u're right... so is there any solutions to resolve my problem?Quote:
Originally Posted by Twey
As I said:Quote:
How this would be accomplished depends on the webserver.
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
Very well... try:
Code:<?php header("Location: http://free.extm.be" . $_SERVER['REQUEST_URI']); ?>