Re-directing website code

  phlomis2 13:25 18 Apr 08

I am using the following code to re-direct from one website (no domain name) to another with a domain name:

html> head> META HTTP-EQUIV="refresh" CONTENT="3;URL=click here"> /head>
body>The site has been moved to click here You will be taken there automatically. /body>
/body> /html>

Unfortunately that only works for the basic home address (click here) not the 2,600 pages I had on the site. How does one write the code so that whatever page people go to (like click here ) they get re-directed?

  Kemistri 21:10 19 Apr 08

You should use PHP for this.

Google for "PHP redirect" or similar.

  phlomis2 12:36 21 Apr 08

That didn't work, presumably as my site is not a PHP site. Anyone else with ideas?

  Kemistri 12:58 21 Apr 08

Well that's how you this. With PHP. Unless you want to edit every page to add a JS redirect, which not only is a pain in the backside for you, but will not work for every visitor or search engines.

  Kemistri 13:00 21 Apr 08

And it's a pretty poor host that doesn't support PHP scripts.

This thread is now locked and can not be replied to.

Huawei P10 review

1995-2015: How technology has changed the world in 20 years

How Nearly Normal created super-fun papercraft for Google

47 iPhone camera tips to help you take better photos