Home  >  Article  >  Web Front-end  >  FAILED

FAILED

WBOY
WBOYOriginal
2016-06-24 11:56:301318browse

Baidu page optimization suggestions

FAILED - (max-age or expires not set) - http://www.xxxxxxx/10.jpg

There are many such tips in total
Then the effect I need to achieve is to prevent Baidu from having this prompt

I checked that the virtual space supports ISAPI_rewrite pseudo-static

After consulting the virtual space provider, I need to set the file to httped. ini (placed in the root directory of the space)

Then I wrote the following code in the httped.ini file
# BEGIN

Header set Cache-Control "max-age=2592000"

# END

Discover Baidu After crawling, the prompt is still the same as before, which means that my file or code does not take effect.

Please tell me how to do this, thank you! What’s inside, my code uses html css js (I don’t know if that’s what I said)


Reply to the discussion (solution)

Oops I X Am I in the wrong place?

seo optimization?

seo optimization?



Yes, but this should be common to everyone who engages in web work.

This needs to be set up on the server

http://jingyan.baidu. com/article/25648fc1a692d59191fd00a1.html

This needs to be set on the server



The server is IIS and supports pseudo-static

http://jingyan.baidu.com/article/25648fc1a692d59191fd00a1.html




The server is IIS and supports pseudo-static. The space provider said the file should be httped.ini but I don’t know. What to write in this file.
I tried this URL you sent me for the first time and it didn’t work.
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn