我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

Wordpress发布自定义社交元标记

is there any way to have custom meta tags for posts like og:url
all i found dont have og:url
can you suggest something?

I tried to modify a simple plugin but it is messy
plugin link

I don't know what to do

The og:url should always be equal to the canonical URL. Every good OG plugin should take this into account.

Answer: change the canonical URL of the post and the og:url will change as well. If not, try a different plugin. It should work.

近期文章

  • 上传png图像黑色背景
  • WordPress的htaccess /永久链接问题
  • 阅读WebPages并导出特定数据
  • jQuery $ .post问题(不向PHP发送变量)
  • 将PHP变量传递给div中加载的页面
  • 使用CURL通过PHP进行Autodesk API调用时出错
  • 用于DOMDocument的PHP loadHTMLFile不适用于生产环境
  • jQuery我不能让两个zip列表显示在地图上
  • 当直接链接到其中一个子页面时,在其父项中打开iframe页面
  • Datetime作为数组并转换日期格式并插入数据库
  • 在使用服务器端和JavaScript代码时如何避免冗余的HTML代码
  • 使用DateTime :: createFromFormat格式化字符串,以微秒为单位
  • Javascript值不会改变
  • magento 1.9.0.1。 插件错误 - 重复?
  • 如何获取下载文件的名称(PHP)
  • 如何以正确的格式获取json对象
  • 使用PHP和SQLExpress Server 2008的复选框
  • PHPMailer XAMPP SMTP身份验证失败
  • PHPMailer电子邮件没有附件发送
  • 使用限制更快地通过SQL表导航

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华