Title: Problem with url encoding
Last modified: March 14, 2019

---

# Problem with url encoding

 *  [jkwp](https://wordpress.org/support/users/jkwp/)
 * (@jkwp)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/problem-with-url-encoding-2/)
 * Hello,
    I need to exchange an embedded pdf file using WordPress 5.1.1, but whatever
   I try ends up with an error. I’m not a coder, but my impression currently is 
   that it is a problem with url encoding of the slash (/) character (%2F) in the
   file path. Any idea how to solve it is welcome. I did change to the old classic
   editor, but that didn’t solve it.
 * Below is the result from my local test site. The same happens on the life website.
 * WordPress page:
    Unexpected server response. PDF.js v2.0.493 (build: c5c06bf5)
   Message: Unexpected server response (403) while retrieving PDF “[http://127.0.0.1/lsg-wp51/wp-content/uploads/dlm_uploads/2019/03/LSG-ADM-OR-008-03-Gebuehrenordnung-Gaeste.pdf&#8221](http://127.0.0.1/lsg-wp51/wp-content/uploads/dlm_uploads/2019/03/LSG-ADM-OR-008-03-Gebuehrenordnung-Gaeste.pdf&#8221);.
 * Server error log:
    [Thu Mar 14 11:38:40.290363 2019] [authz_core:error] [pid 
   4496:tid 1640] [client 127.0.0.1:52585] AH01630: client denied by server configuration:
   C:/xampp56/htdocs/lsg-wp51/wp-content/uploads/dlm_uploads/2019/03/LSG-ADM-OR-
   008-03-Gebuehrenordnung-Gaeste.pdf, referer: `http://127.0.0.1/lsg-wp51/wp-content/
   plugins/wonderplugin-pdf-embed/pdfjs/web/viewer.html?file=http%3A%2F%2F127.0.0.1%
   2Flsg-wp51%2Fwp-content%2Fuploads%2Fdlm_uploads%2F2019%2F03%2FLSG-ADM-OR-008-
   03-Gebuehrenordnung-Gaeste.pdf`
    -  This topic was modified 7 years, 2 months ago by [jkwp](https://wordpress.org/support/users/jkwp/).
    -  This topic was modified 7 years, 2 months ago by [jkwp](https://wordpress.org/support/users/jkwp/).

Viewing 1 replies (of 1 total)

 *  Thread Starter [jkwp](https://wordpress.org/support/users/jkwp/)
 * (@jkwp)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/problem-with-url-encoding-2/#post-11313466)
 * Solved it myself meanwhile.
    1. The above happens when you try to embed a pdf
   file uploaded with the “Download Monitor” plugin. 2. In addition to that there
   seem to be problems with url paths WordPress 5.1.1 comes up with when selecting
   the file. However, at present I don’t have the time to investigate that in detail.

Viewing 1 replies (of 1 total)

The topic ‘Problem with url encoding’ is closed to new replies.

 * ![](https://ps.w.org/wonderplugin-pdf-embed/assets/icon-128x128.png?rev=1669953)
 * [Wonder PDF Embed](https://wordpress.org/plugins/wonderplugin-pdf-embed/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wonderplugin-pdf-embed/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wonderplugin-pdf-embed/)
 * [Active Topics](https://wordpress.org/support/plugin/wonderplugin-pdf-embed/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wonderplugin-pdf-embed/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wonderplugin-pdf-embed/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [jkwp](https://wordpress.org/support/users/jkwp/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/problem-with-url-encoding-2/#post-11313466)
 * Status: not resolved