Support » Fixing WordPress » Getting a 404 Error each time I insert iframe code

  • I recently updated my wordpress blogs to the latest wordpress version 5.2.

    Before I updated my sites, I had no problems embedding iframe codes.

    After I updated all my sites, I have encountered a 404 error each time I insert iframe codes (iframe embed codes from Amazon, from news sites, youtube, and dailymotion).

    I am using two different themes so I don’t think it is a problem with them.

    I have tried in Chrome and Firefox and get the same 404 Error especially if I try to save as a draft or publish the article.

    When I take the iframe code out of the article, all the articles publish or save as draft with no problem.

    How do I fix this error?

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

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    How are you adding iframe embeds? Block editor (Gutenberg) or classic editor? If block editor, which block? The editor has numerous embed blocks where you merely insert the resource URL, not the entire embed code. In any case, I just tried inserting a YouTube embed code into the custom HTML block and it works fine on my site (v5.2.1). If you cannot do the same, you may have a theme or plugin conflict.

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