• I’m having issues with policies that need to be set in place with CloudFront. I was able to access WordPress without any problem and do anything that was required on the site, but now that site is behind ClodFront and I try to edit/create a page in WordPress this doesn’t work anymore (getting errors on the console when inspecting).

    I’ve set the origin server which is up and running (same server where site was running before CloudFront was set in place). I’ve added the below behavior patterns and this something that I may need input with so this works with no problem:

    0

    /wp-admin*

    Redirect HTTP to HTTPS

    Managed-CachingDisabled (Cache policy name)

    Managed-AllViewer (Origin request policy name)

    -

    1

    /*

    Redirect HTTP to HTTPS

    Managed-CachingDisabled

    Managed-AllViewer

    -

    3

    Default (*)

    Redirect HTTP to HTTPS

    CachePolicy-With-Host-Header

    Managed-AllViewer

    I’m sure this has been done before (enabling CloudFront for a WordPress site and be able to edit anything on the site with no problem). Any custom policy that needs to be created? I’ve created one custom policy that includes the “Host” headers (CachePolicy-With-Host-Header) and is part of the default behavior pattern.

    I’ll appreciate the input so I can get this working – thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘WordPress and CloudFront’ is closed to new replies.