Where the html goes, the header gets stripped out automatically, as well as meta lines.

It's on craigs list. Redirection is not a huge deal. Craigs list says that the ad will expire in 7 days, yet it usually doesn't disappear until day 8 or 9. Occasionally, it complains if the ad you submit seems to be identical to another. And I know that sometimes people will bookmark a page. I just wanted to submit the same page 7 days later, and change the old page and make it auto redirect.

It's not a big deal. I just change the old page and put a link to the new page. And that's only for people going to the old page from a bookmark or whatever. The old page will only be active for a day or two longer anyway.


Andreas S wrote:
Can you run a php script?
header('Location: http://www.example.com/');
will do an immediate redirect.

http://www.php.net/header
it is the third bit of code down. If header is used, it must be the first code in your page.

-Andreas

On Jan 10, 2007, at 10:38, Ralph Shumaker wrote:

Thanks to all who replied. The page explaining how to do it in javascript was very informative (thanks Andreas). And it's nice to know that there are two other ways to do it (thanks Michael, though I don't have the access you do). And (thanks Brenden) for providing an example of meta. Unfortunately, javascript is not an option and the meta tag gets stripped out.

It's not that big a deal.  Just an idea.  Thanks again.


Ralph Shumaker wrote:

When one visits a page that has moved, sometimes a message appears telling of the move and automatically reroutes you there. (Usually, a link is provided just in case the automatic isn't.)
If I wanted to create an automatic forward, how is that done?


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie



--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie

Reply via email to