Title: StackPath CDN Forbidden
Last modified: July 28, 2018

---

# StackPath CDN Forbidden

 *  Resolved [thomsonkev](https://wordpress.org/support/users/thomsonkev/)
 * (@thomsonkev)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/stackpath-cdn-forbidden/)
 * When I enter my CDN URL into the plugin I get FORBIDDEN
    If I enter it into a
   Browser I also get access denied.
 * But If I add a full path to say an image I can see it.
 * Is this expected behaviour of WPFC? Should I contact StackPath?

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

 *  Thread Starter [thomsonkev](https://wordpress.org/support/users/thomsonkev/)
 * (@thomsonkev)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/stackpath-cdn-forbidden/#post-10535178)
 * Opened a chat at Stackpath and they said since it resolves full URL to images
   everything is working OK on their end.
 * IDK what to do now.
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/stackpath-cdn-forbidden/#post-10535778)
 * nice 🙂
 *  Thread Starter [thomsonkev](https://wordpress.org/support/users/thomsonkev/)
 * (@thomsonkev)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/stackpath-cdn-forbidden/#post-10536280)
 * [@emrevona](https://wordpress.org/support/users/emrevona/) What should I do about
   the plugin saying forbidden though? Stackpath said everything is working normal.
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/stackpath-cdn-forbidden/#post-10536326)
 * can you tell me the cdn-url please?
 *  Thread Starter [thomsonkev](https://wordpress.org/support/users/thomsonkev/)
 * (@thomsonkev)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/stackpath-cdn-forbidden/#post-10536568)
 * [@emrevona](https://wordpress.org/support/users/emrevona/)
 * g7d3e4p3.stackpathcdn.com
 * Here is an image: [http://g7d3e4p3.stackpathcdn.com/wp-content/uploads/2018/07/27143832/GS96724-1320×1320.jpg](http://g7d3e4p3.stackpathcdn.com/wp-content/uploads/2018/07/27143832/GS96724-1320x1320.jpg)
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/stackpath-cdn-forbidden/#post-10536602)
 * the cdn works properly but the homepage returns 403 as below.
 * [https://resmim.net/preview/sAfrky.jpg](https://resmim.net/preview/sAfrky.jpg)
 *  Thread Starter [thomsonkev](https://wordpress.org/support/users/thomsonkev/)
 * (@thomsonkev)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/stackpath-cdn-forbidden/#post-10536627)
 * Correct, so how do I fix this so that I can use WPFC? WPFC just says “Forbidden”
   because of the 403 error
    -  This reply was modified 7 years, 10 months ago by [thomsonkev](https://wordpress.org/support/users/thomsonkev/).
 *  Thread Starter [thomsonkev](https://wordpress.org/support/users/thomsonkev/)
 * (@thomsonkev)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/stackpath-cdn-forbidden/#post-10536990)
 * [@emrevona](https://wordpress.org/support/users/emrevona/)
 * I think I found a workaround. I can’t fully test it because all my files haven’t
   been pushed to my S3 Bucket yet. But I get basic HTML from the CDN now…just waiting
   on my upload to finish for CSS and photos. I probably should have mentioned that
   my CDN is pointed to an S3 Bucket and there was no root page.
 * Here is what I did to make the plugin work:
    1) I made an index.html file and
   simply put a comment inside it saying <!– This is to Prevent 403 Error Perms 
   for WPFC Plugin –>
 * 2) Save the file and upload it to the root of affected S3 Bucket
 * 3) Now Click on the file and go to the Permissions tab of S3 Bucket and make 
   sure everyone has only READ access on this file.
 * 4) Now login to Stackpath, on left click CDN. Click domain name for affected 
   CDN, now click Cache Settings. Click Purge everything.
 * 5) Login back into wordpress and on the WPFC page click CDN. Select MAXCDN (Now
   Stackpath) for the URL Put: [http://YOURCDNURL/index.html](http://YOURCDNURL/index.html)
 * 6) The plugin will now get around the 403 error and ask you to select files, 
   etc. Continue configuration as normal from here on.
 * Hope this helps somebody else, maybe sticky somewhere for people that run into
   the same issue.
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/stackpath-cdn-forbidden/#post-10537382)
 * Actually lots of users got the same issue before many times and they fixed the
   problem by them selves or the support theam of maxcdn solved.
 * Just tell the supports that you want [http://g7d3e4p3.stackpathcdn.com/](http://g7d3e4p3.stackpathcdn.com/)
   to return 200 instead of 403. I think that they will help.
 *  Thread Starter [thomsonkev](https://wordpress.org/support/users/thomsonkev/)
 * (@thomsonkev)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/stackpath-cdn-forbidden/#post-10541970)
 * I just wanted to update this post real quick.
    Including index.html in the URL
   did not work because then WPFC would add it to my photos URL and of course they
   were not found.
 * Talked to StackPath again and they said they can’t return a 200 because it was
   Permissions on the S3 Bucket.
 * So I set Perms on my S3 Bucket Root Folder to Public – Read
    Then I activated
   the CDN Tab in Plugin.
 * Since Setting Root of S3 folder causes an XML list of ALL the files in my bucket
   I simply shut the Perms for public back off after I activated the CDN Tab. All
   is Working Great now! Simple workaround

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

The topic ‘StackPath CDN Forbidden’ is closed to new replies.

 * ![](https://ps.w.org/wp-fastest-cache/assets/icon-256x256.png?rev=2064586)
 * [WP Fastest Cache - WordPress Cache Plugin](https://wordpress.org/plugins/wp-fastest-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-fastest-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-fastest-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-fastest-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-fastest-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-fastest-cache/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [thomsonkev](https://wordpress.org/support/users/thomsonkev/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/stackpath-cdn-forbidden/#post-10541970)
 * Status: resolved