Title: Pl;ugin limitations
Last modified: November 3, 2021

---

# Pl;ugin limitations

 *  [casperroux](https://wordpress.org/support/users/casperroux/)
 * (@casperroux)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/plugin-limitations-4/)
 * Plugin work nicely and is not complicated….
 * However, when adding a PDF document, the path includes the full URL, making it
   break all PDF links when migrating to another domain
 * The author should consider adding support for relative paths
    -  This topic was modified 4 years, 6 months ago by [casperroux](https://wordpress.org/support/users/casperroux/).

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

 *  Plugin Author [awsm.in](https://wordpress.org/support/users/awsmin/)
 * (@awsmin)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/plugin-limitations-4/#post-15031839)
 * [@casperroux](https://wordpress.org/support/users/casperroux/)
 * Unfortunately, relative URLs cannot be supported by the plugin as the document
   viewers (Google Docs Viewer and Microsoft Office Online) require absolute URLs
   to be able to render the documents.
 * Kindly note that by default, when you add images and other files also in a WordPress
   page or post, full URLs are used. It is recommended to [search and replace the domain name](https://wordpress.org/support/article/moving-wordpress/#changing-your-domain-name-and-urls)
   everywhere in the database when you move to a new domain name. If you follow 
   it, the PDF links also will be updated with the new domain. This way, you can
   make sure nothing breaks when you migrate to a new domain.
 * You have mentioned that the plugin works nicely for you. We are glad about that,
   and thanks for the comment. But the rating you have given because of the things
   that are not under our control – could badly affect us. Kindly consider updating
   it.
 * Thank you
 *  Thread Starter [casperroux](https://wordpress.org/support/users/casperroux/)
 * (@casperroux)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/plugin-limitations-4/#post-15033089)
 * an easy fix with search & replace 😉
    thanks
 * I updated the stars to 5 now… just for you
 *  Plugin Author [awsm.in](https://wordpress.org/support/users/awsmin/)
 * (@awsmin)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/plugin-limitations-4/#post-15033097)
 * [@casperroux](https://wordpress.org/support/users/casperroux/) Thank you so much!
   We appreciate that. 🙂
 *  Thread Starter [casperroux](https://wordpress.org/support/users/casperroux/)
 * (@casperroux)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/plugin-limitations-4/#post-15038708)
 * Plugin updated yesterday….. and it broke all PDF links
    Microsoft documents is
   still working
 *  Thread Starter [casperroux](https://wordpress.org/support/users/casperroux/)
 * (@casperroux)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/plugin-limitations-4/#post-15038715)
 * _This is how a microsoft Link looks like…_
    -  [embeddoc url=”https:/******.com/wp-content/uploads/2-Accident_Investigation_Form.
      doc” viewer=”microsoft”]
    - _This is how a PDF Link looks like…_
 *  -  [pdfjs-viewer url=”https%3A%2F%2F******.com%2Fwp-content%2Fuploads%2F2-Fire_Fighting_Equipment_Inspection_Register.
      pdf” viewer_width=100% viewer_height=500px fullscreen=false download=false
      print=false]
 *  Plugin Author [awsm.in](https://wordpress.org/support/users/awsmin/)
 * (@awsmin)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/plugin-limitations-4/#post-15038724)
 * [@casperroux](https://wordpress.org/support/users/casperroux/) The last plugin
   update was released two months ago. It must be something else causing the issue.
 *  Plugin Author [awsm.in](https://wordpress.org/support/users/awsmin/)
 * (@awsmin)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/plugin-limitations-4/#post-15038727)
 * > This is how a PDF Link looks like…
   > [pdfjs-viewer url=”https%3A%2F%2F******.com%2Fwp-content%2Fuploads%2F2-Fire_Fighting_Equipment_Inspection_Register.
   > pdf” viewer_width=100% viewer_height=500px fullscreen=false download=false 
   > print=false]
 * [@casperroux](https://wordpress.org/support/users/casperroux/) ‘[pdfjs-viewer..’
   is not a shortcode generated by Embed Any Document. It’s a different plugin.
 *  Thread Starter [casperroux](https://wordpress.org/support/users/casperroux/)
 * (@casperroux)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/plugin-limitations-4/#post-15038755)
 * There is 2 plugins used… My mistake.
    I will now uninstall the other one, and
   fix them to work only with your plugin.
 * This then also means the the original problem with the migration was not the 
   fault of your plugin, but the other one that was used.
    Your links migrated correctly.
 * Can I give you 7 stars for support 😉
    Thanks
 *  Plugin Author [awsm.in](https://wordpress.org/support/users/awsmin/)
 * (@awsmin)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/plugin-limitations-4/#post-15038788)
 * [@casperroux](https://wordpress.org/support/users/casperroux/) Haha, thank you
   so much for that! 😄

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

The topic ‘Pl;ugin limitations’ is closed to new replies.

 * ![](https://ps.w.org/embed-any-document/assets/icon.svg?rev=2576642)
 * [Embed Any Document - Embed PDF, Word, PowerPoint and Excel Files](https://wordpress.org/plugins/embed-any-document/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/embed-any-document/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/embed-any-document/)
 * [Active Topics](https://wordpress.org/support/plugin/embed-any-document/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/embed-any-document/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/embed-any-document/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [awsm.in](https://wordpress.org/support/users/awsmin/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/plugin-limitations-4/#post-15038788)