将og:url更改为站点url而不是规范的url

时间:2019-10-23 07:00:55

标签: wordpress yoast

我有一个城市新闻杂志网站,所有帖子都来自其他网站。因此,我将所有帖子都设置为来源的规范网址。

那太好了,但是当我在我的网站上分享我的帖子时,它会分享规范的网址,而不是我的网站网址。

有人可以帮我做类似的事情吗?

 {
        "bridge": {
            "name": "Homebridge",
            "username": "xxx",
            "port": 51826,
            "pin": "xxx"
        },
        "accessories": [],
        "platforms": [{
                "name": "Config",
                "port": 8080,
                "auth": "form",
                "log": {
                    "method": "file",
                    "path": "/Users/xx/.homebridge/homebridge.log",
                    "platform": "config"
                }
            },
            {
                "platform": "DysonPlatform",
                "name": "DysonPlatform",
                "email": "xxx",
                "password": "xxx",
                "country": "US",
                "accessories": [{
                    "ip": "xxx",
                    "displayName": "Dyson",
                    "serialNumber": "xxx"
                }, {
                    "ip": "ip of your second device",
                    "displayName": "Name to be shown on Home App",
                    "serialNumber": "DYSON-XXX-XX-XXXXXXXX-XXX",
                    "password": "password of your second device"
                }]
            }
        ]
    }

但是要保留所有帖子为og:url,而不是规范网址。

PD:我想保留所有来自源头的规范文章。

最诚挚的问候!

0 个答案:

没有答案