Where to find where a website was last updated




















Add a comment. Active Oldest Votes. Improve this answer. Jukka K. Korpela Jukka K. Korpela k 33 33 gold badges silver badges bronze badges. It's correct about the Last-Modified header, however it's possible to make some educated guesses from the server's response to a HEAD request and based on knowledge of a particular host's server and their content and how they generate it; Snooping around in their pages and with a sniffer on the connection can reveal much.

Community Bot 1 1 1 silver badge. Vaux42 Vaux42 5 5 silver badges 7 7 bronze badges. You can just print it out in the console too. Just type document. The answer below should really be the accepted answer, since dynamic pages are generated on the fly, and this command is worthless in that context.

It is a useful command though for static pages if you can determine a page is truly static. This would show incorrect data if a website had moved server wouldn't it? Wayback machine is an amazing tool! It tells you, for a given page, when it was updated, but you can also visit the different snapshots it does of this page. You can accuretly check if the section you are interested in is pretty old, or pretty new.

Wayback machine is the real answer to this question. You could then scan several of them to determine when that page no longer existed. But you'd have to pull each version and to a diff check to see when it was last modified. Martin Thoma Martin Thoma 98k gold badges silver badges bronze badges.

HTTPConnection address c. Marc Maxmeister Marc Maxmeister 3, 2 2 gold badges 31 31 silver badges 44 44 bronze badges. Luckily, most standard WordPress themes have this coding automatically included and thus the date is already shown.

If you want to get the latest modified date of your page and display it inside your dynamic WordPress PHP page, use this function :. In conclusion, there are several effective ways to find the latest updated date of any public web page on the internet. Looking for assistance with finding web page data or optimizing your website? SEO Heroes Bangkok is here for you! Contact us today to get started. Contact Us Today. Skip to content. Grab Your Free Audit. Table of Contents. Using XML Sitemap.

Using Google Search. Using Command URL. Using Google Cache. Using Internet Archive. Want to be Our Next Success Story? Contact us today, we will help your brand achieve these results and more. For users of the Chrome browser and some others, if you cut-and-paste the command into the address bar, be aware that the "javascript:" part is removed. This doesn't mean you can't use the command. You will just need to type that bit back into the command in the address bar. Technology for web pages changes over time, and in some cases the command to find out when a page was last modified won't work.

For example, it won't work on sites where the page content is generated dynamically. These types of pages are, in effect, being modified with each visit, so this trick doesn't help in these cases. Another means of finding when a page was last updated is using the Internet Archive , also known as the "Wayback Machine. This won't give you a precise date, but you may be able to get an approximate idea of when it was last updated. Note, though, that the calendar view on the Internet Archive site only indicates when the Archive has "crawled" or visited and logged the page, not when the page was updated or modified.

If you have a webpage of your own, and you would like to show visitors when your page was last updated, you can do this easily by adding some JavaScript code to your page's HTML document. The code utilizes the same call shown in the previous section: document.

This will display text on the page in this format:. You can customize the text preceding the date and time displayed by changing the text between the quotation marks —in the above example, that is the "Last updated " text note that there is a space after "on" so that the date and time aren't displayed abutting the text. Actively scan device characteristics for identification. Use precise geolocation data.



0コメント

  • 1000 / 1000