PDA

View Full Version : How To Transferring User To New Web Page Automatically?



blackmagiccure
07-22-2019, 02:05 AM
Hello friends,

How To Transferring User To New Web Page Automatically?

WoodsPainting
07-22-2019, 02:55 AM
Use the below meta tag to refresh your page to a new URL as shown in the example below.

<META HTTP-EQUIV="Refresh" CONTENT="2;URL=https://www.computerhope.com/">
Placing the above tag in your <HEAD></HEAD> will re-load the page to Computer Hope in 2 seconds after visiting the page containing the code.

Changing the 2 value on CONTENT="2" to another value will increase or decrease the delay until loading the new page. If you want to forward a user immediately, change the 2 to a 0.
If you're doing this for a page that you've moved permanently, we suggest using a 301 redirect instead of the above method. Not only will this help your users, but it also prevents any loss in search engine rankings.