• Resolved joeco

    (@joeco)


    Hello,

    I searched through the documentation and this support forum but I haven’t found anything that describes “an easy way to disable the WordPress or the WPSSO shortlink meta tags”. Could you please either post the solution here or post a URL to where I can find the solution.

    I would like to remove:
    sameAs from structured data markups
    and
    shortlink tag from meta data

    Thank you!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author JS Morisset

    (@jsmoriss)

    Try the following filters:

    add_filter( 'wpsso_json_prop_https_schema_org_sameas', '__return_empty_array' );

    And assuming that by “shortlink tag from meta data” you meant the shortlink meta tag, you can use:

    add_filter( 'wpsso_add_link_rel_shortlink', '__return_false' );

    See here for a mostly complete list of filters:

    https://wpsso.com/docs/plugins/wpsso/notes/developer/filters/all/

    And in case you’ve chosen to help support the continued development of WPSSO Core and its add-ons by purchasing the Premium version, you can also disable the shortlink meta tag in the SSO > Advanced > HTM Tags metabox (or customize the shortlink instead in the Service APIs metabox).

    js.

    Thread Starter joeco

    (@joeco)

    Hi JS,

    That worked! Thank you very much for the help and a great plugin!

    Plugin Author JS Morisset

    (@jsmoriss)

    No problem.

    BTW, if you have a minute and value WPSSO Core and its support, would you take a moment to rate the WPSSO Core plugin? A good review is always a great way to encourage us. ??

    js.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘remove: sameAs from structured data markups and shortlink tag from meta data’ is closed to new replies.