How can I change/customize WP File Access Manager Error Message on PDF Viewer

PDF viewer for WordPress PDF viewer for WordPress / Frequenty Asked Questions Last updated on Updated  May 10, 2021

This question comes a lot about changing or customizing the error message when a user doesn't have access to a specific PDF file. The default message Appears as:

SORRY
You do not have permission to view this file, please contact us if you think this was by a mistake.
Go To Homepage

On this article, I am going to show you a quick workaround for changing this text. You'll need to install a free plugin for this. So, Here are the steps:

  1. Search and install a plugin called Gettext override translations & activate the plugin. Direct link here.
  2. Go to Plugins > Gettext override translations
  3. Add the text overrides on this page and save settings.
  4. The image below provides more specific details on exactly which string you should use to replace.
  5. This should change the text for you.

Here's an example:

uFzoVN8O8xq3NL4zdAyXD3LLwy7alsHo2iEnR1uO.png


I hope it helps. Please feel free to create a support ticket if you need additional information.