M
M
Maxim2014-05-04 09:39:45
Search engines
Maxim, 2014-05-04 09:39:45

Last-modified setting (the site is written only in html and css)

Hello. Help (explain), please, how to configure this parameter so that the server sends the time of the last modification of the file to the search engine, if my site does not use php, that is, all .html pages (and several scripts). What are the options? I read it on the Internet, but basically, as I understand it, you need to insert a php script.
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vlad Zhivotnev, 2014-05-04
@Alexandrovm

Nginx out of the box for static files correctly sends this header.
Actually, you can configure this header either in the web server (if you have vds, then by yourself, if shared, then contact the hoster), or using dynamic languages ​​(as in php, for example).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question