日常记录
Published by powerfulyang on Jan 17, 2023
SEO 相关
重复网页,用户未选定规范网页
控制台出现:此类网页未编入索引或不会显示在 Google 搜索结果中。可以通过
rel="canonical"
指明首选链接, 将属性为 rel="canonical" 的 <link> 元素添加到这些网页的 <head> 部分,要使用绝对路径,如:
1
<link rel="canonical" href="http://www.example.com/a.html" />
Remote Desktop
远程桌面回家一直登录不上,最后发现 Username 要用 HOSTNAME\username
的形式才能登录上去。
stop connections from closing when idle
node-postgres
: set idleTimeoutMillis
to 0 to disable auto-disconnection of idle clients.