Title: 403 Forbidden HELP!!!
Last modified: March 20, 2021

---

# 403 Forbidden HELP!!!

 *  [leomarioto](https://wordpress.org/support/users/leomarioto/)
 * (@leomarioto)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/403-forbidden-help/)
 * I no longer know what to do to fix this.
 * It is the only plugin that I managed to work properly … But since 1 week here
   it is showing the following error:
 * 403 Forbidden
    nginx
 * I have already touched on permissions, but to no avail.

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/403-forbidden-help/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/403-forbidden-help/page/2/?output_format=md)

 *  Plugin Author [Thomas McMahon](https://wordpress.org/support/users/twistermc/)
 * (@twistermc)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/403-forbidden-help/#post-14226201)
 * Where is the PDF hosted? It must be on the same domain as the rest of the site.
   It can’t be on a CDN. If it is, then check with the host to see what the issue
   is.
 * The HTTP 403 Forbidden client error status response code indicates that the server
   understood the request but refuses to authorize it
 *  [John](https://wordpress.org/support/users/jemoreto/)
 * (@jemoreto)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/403-forbidden-help/#post-14231137)
 * Hello guys!
 * Same here. This error is happening now. Never happened before.
 * All plugins are up-to-date, and WP is 5.7.
 * Using Cloudflare.
 * Any ideas?
 * Thanks
 *  [dushyanth](https://wordpress.org/support/users/dushyanth/)
 * (@dushyanth)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/403-forbidden-help/#post-14231785)
 * Facing the same issue. Was working fine previously.
 * On checking with the host, was advised to provide direct PHP file access. This
   is a less secure option, but the PDF is displayed when access is provided.
    -  This reply was modified 5 years, 2 months ago by [dushyanth](https://wordpress.org/support/users/dushyanth/).
 *  Thread Starter [leomarioto](https://wordpress.org/support/users/leomarioto/)
 * (@leomarioto)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/403-forbidden-help/#post-14240641)
 * I ended up giving up using PDFs and moved on to another strategy.
 * Thanks!
 *  [John](https://wordpress.org/support/users/jemoreto/)
 * (@jemoreto)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/403-forbidden-help/#post-14240648)
 * [@leomarioto](https://wordpress.org/support/users/leomarioto/) same here. Instead,
   migrated to plugin [https://wordpress.org/plugins/embed-pdf-viewer/](https://wordpress.org/plugins/embed-pdf-viewer/)
 * Thanks
 *  Thread Starter [leomarioto](https://wordpress.org/support/users/leomarioto/)
 * (@leomarioto)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/403-forbidden-help/#post-14240668)
 * Thanks, John!
 * I tried this one too, but I think there was a conflict with Elementor or Chrome
   Mobile.
 *  [John](https://wordpress.org/support/users/jemoreto/)
 * (@jemoreto)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/403-forbidden-help/#post-14240765)
 * [@leomarioto](https://wordpress.org/support/users/leomarioto/) you’re right. 
   Chrome mobile is conflicting with this other plugin 🙁
 * Can I ask which solution you used?
 *  Plugin Author [Thomas McMahon](https://wordpress.org/support/users/twistermc/)
 * (@twistermc)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/403-forbidden-help/#post-14246619)
 * Can someone give me a URL where I can see the issue? At this time, I can’t troubleshoot
   without seeing the issue.
 *  Plugin Author [Thomas McMahon](https://wordpress.org/support/users/twistermc/)
 * (@twistermc)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/403-forbidden-help/#post-14246621)
 * You can also download an old version of the plugin from here: [https://wordpress.org/plugins/pdfjs-viewer-shortcode/advanced/#plugin-download-history-stats](https://wordpress.org/plugins/pdfjs-viewer-shortcode/advanced/#plugin-download-history-stats)
 *  [kervadecg](https://wordpress.org/support/users/kervadecg/)
 * (@kervadecg)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/403-forbidden-help/#post-14749557)
 * Hello,
 * I have the same issue : everything was working well and now, I get a “403 Forbidden”
   when the PDFJS viewer trys to acces a file.
 * WP 5.7.2 with PDFJS 2.0.0
 * I tried rollback to 1.5.9 but the issue remains.
 * Link to may page : [https://3amu.com/amicale-des-anciens-aerospatiale-mureaux/catalogue-micro/](https://3amu.com/amicale-des-anciens-aerospatiale-mureaux/catalogue-micro/)
 *  [kervadecg](https://wordpress.org/support/users/kervadecg/)
 * (@kervadecg)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/403-forbidden-help/#post-14749596)
 * I have included a test with Embed PDF Viewer.
    With this plugin te file is correctly
   displayed.
 *  Plugin Author [Thomas McMahon](https://wordpress.org/support/users/twistermc/)
 * (@twistermc)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/403-forbidden-help/#post-14751125)
 * When I try to log the PDF, it doesn’t load with the necessary variables in the
   URL.
 * [https://3amu.com/wp-content/uploads/bp-attachments/3722/Fiche-HP-EliteBook-840G1.pdf&dButton=true&pButton=true&oButton=false&sButton=true#zoom=auto&pagemode=none](https://3amu.com/wp-content/uploads/bp-attachments/3722/Fiche-HP-EliteBook-840G1.pdf&dButton=true&pButton=true&oButton=false&sButton=true#zoom=auto&pagemode=none)
 * Check with your host to understand why.
 *  [kervadecg](https://wordpress.org/support/users/kervadecg/)
 * (@kervadecg)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/403-forbidden-help/#post-14753643)
 * Hello,
    I open a ticket to the host : they said it’s not a server issue
 * Beside, it’s working with the other plugin(Embed PDF viewer).
 * I tried your URL:
    – the #zoom=auto&pagemode=none are working – but the &dButton
   =true create an error 403 I cannot find the origin of the followinf parameters
   dButton pButton oButton and sButton. They are not documented in Adobe neither
   in HTTP
 *  [kervadecg](https://wordpress.org/support/users/kervadecg/)
 * (@kervadecg)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/403-forbidden-help/#post-14798967)
 * Thomas,
    Additional information : I moved from PHP 7.3 to 7.4 which is recommended.
   It may have an impact
 *  [samjco](https://wordpress.org/support/users/samjco/)
 * (@samjco)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/403-forbidden-help/#post-14865004)
 * OK the issue is with the server company….
 * You have to enable: DIRECT PHP FILES ACCESS

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/403-forbidden-help/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/403-forbidden-help/page/2/?output_format=md)

The topic ‘403 Forbidden HELP!!!’ is closed to new replies.

 * ![](https://ps.w.org/pdfjs-viewer-shortcode/assets/icon-256x256.png?rev=2301161)
 * [PDF.js Viewer](https://wordpress.org/plugins/pdfjs-viewer-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/pdfjs-viewer-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/pdfjs-viewer-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pdfjs-viewer-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pdfjs-viewer-shortcode/reviews/)

## Tags

 * [forbidden](https://wordpress.org/support/topic-tag/forbidden/)
 * [pdf.js](https://wordpress.org/support/topic-tag/pdf-js/)

 * 22 replies
 * 10 participants
 * Last reply from: [hoasenvang](https://wordpress.org/support/users/hoasenvang/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/403-forbidden-help/page/2/#post-15460023)
 * Status: not resolved