Open graph can resolve relative url?

后端 未结 3 867
星月不相逢
星月不相逢 2021-02-06 19:57

I\'m adding Facebook Open Graph meta tag to my site. For example:


Does Open Gr

3条回答
  •  余生分开走
    2021-02-06 20:38

    If you are setting the value of the og:url meta node from within a Controller Action you can use:

    Request.Url.AbsoluteUri()

提交回复
热议问题