• Resolved hkindy

    (@hkindy)


    Hi,

    I have a WPForo discussion forum setup on my site and I have been trying to post embedded google maps and I get the same error message.

    403 Forbidden
    A potentially unsafe operation has been detected in your request to this site.

    How do I allow embedding google maps in my posts? I understand that embedding code is a security threat, but I specifically want to allow embedding google maps in the forum posts.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @hkindy,

    I did some testing with WPForo, and found a way to whitelist this action.

    1. Go to Wordfence -> All Options
    2. Scroll down until you see Whitelisted URLs
    3. Put / for the URL (or /community/, where your forum is)
    4. Select Param Type: POST Body for the dropdown
    5. Put post[body] for the Param Name
    6. Click Add
    7. Click Save Changes in the top right corner

    For example: https://i.imgur.com/wzsQ7dG.png

    Dave

    Thread Starter hkindy

    (@hkindy)

    Thank you very much. I am now no longer getting the error. I now have to go to WPForo forums to see why the embeded map doesnt show up in the post ??

    • This reply was modified 5 years, 8 months ago by hkindy.

    Hi again,

    You can go into Dashboard -> Forums -> Tools -> Allow extra HTML tags, and add the <iframe> tag.

    This should all your embedded map to show up in the post.

    Dave

    Thread Starter hkindy

    (@hkindy)

    Thanks. I will try it out and update you on how well it works ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Wordfence blocking embeded maps code in WPForo posts’ is closed to new replies.