Support » Plugin: Premmerce Permalink Manager for WooCommerce » oembed links not working

  • By default, WordPress includes 2 oembed headers:
    <link rel=”alternate” type=”application/json+oembed” AND <link rel=”alternate” type=”text/xml+oembed”

    When Premmerce Permalink is activated, the address is correctly replaced in the header.(no url /products/ )

    However, when opening the included oembed links, a json oembed_invalid_url 404 response is generated.

    However, when opening the oembed address with the original URL, the response is correctly generated.

    Example to reproduce:

    <link rel=”alternate” type=”application/json+oembed” href=”https://www.domain.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.domain.com%2Fshoes&#8221; />
    <link rel=”alternate” type=”text/xml+oembed” href=”https://www.domain.com/wp-
    json/oembed/1.0/embed?url=https%3A%2F%2Fwww.domain.com%2Fshoe&format=xml” />

    result:

    {“code”:”oembed_invalid_url”,”message”:”Not Found”,”data”:{“status”:404}}

    When i change url for result from the original address with custom permalinks activated its wordk fine

    http://www.domain.com/wp-json/oembed/1.0/embed?url=http%3A%2F%2Fwww.host.com%2Fproducts%2shoes :

    {“version”:”1.0″,”provider_name”:”domain.com”,”provider_url”:” ……….–remaining content removed–

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.