Erik
Erik

Reputation: 5791

How do I update a live website?

I updated my website with new links. The website is live.

How do I get the public to see the updates? Can I make the pages update themselves automatically. Right now, unless they refresh the webpage, they won't know the updates.

Upvotes: 0

Views: 2297

Answers (2)

FatherStorm
FatherStorm

Reputation: 7183

they will have to reload the web page for any updated content to show. If thi is somethig you do very often, and your visitors do not reload your page at a high enough frequency, you may want to look at either using META REFRESH or using AJAX to reload the content on a regular timed basis see this quick tutorial

Upvotes: 0

Marc B
Marc B

Reputation: 360762

The simplest thing you can do is set a meta refresh in your page's header, which would suggest to the client browsers to reload your page after a fixed interval:

<html>

<head>
    <meta http-equiv="refresh" content="100" />
</head>
etc...

which would make the page reload after 100 seconds. There's various other tricks you could do with Javascript, AJAX polling, etc... But this is basically universally supported.

Upvotes: 1

Related Questions