Get the App
SLTechnology News&Howtos  ›  Servers  › 

What is the method of dede5.7 to solve the problem that senddate is later than pubdate?

Shulou Source: shulou.com Published: 2022-06-02 03:55:55 09月30日 Update

This article will explain in detail what is dede5.7 's method to solve the problem that senddate is later than pubdate. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

How does dede5.7 solve the problem that senddate is later than pubdate?

With the "Baidu search landing page time factor specification" requirements, the page needs to add a standard release time and release time, and is accurate to the second, many friends have used DEDE to do the site, weaving dreams there are senddate and pubdate two times, one is the release time, one can be used as an update time.

Recommended study: dream weaving cms

But after we publish the article, we will find that senddate is later than pubdate, which is a moderate problem, that is, it is unreasonable to tell search engines that the release time is later than the update time. How to solve this problem?

Editor after testing, modify the article_add.php under dede, we search for "$senddate"

We change: $senddate=time (); to $senddate= GetMkTime ($pubdate); save

After the revision, we will re-release an article will find that the first release, senddate and pubdate time is the same, this is right, the first release of the two times should be the same, we just released the article revised, we will find that pubdate updated into the latest revised time, senddate has not changed, so as to solve the "Baidu search landing page time factor specification" requirements.

So much for dede5.7 's solution to the problem that senddate is later than pubdate. I hope the above content can be helpful to you and learn more. If you think the article is good, you can share it for more people to see.

Tags: Time question search article article update method content factor time more first time landing unreasonable good practical same accurate not big not too small Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Redmi Shulou Technology Apple NVidia