Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

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

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report