When in production and accessing a library link (such as an image or quicklink), the link points to a staging URL. If not on a staging server, this URL throws 404 errors for end users.
The cause is probably one of two things.
- In the Workarea > Settings > Configuration section, Staging server enabled is checked off.
- The value is being hard-coded by the template.
Disable the enable staging server field per the following KB article: What the Server Type (Stage Server) checkbox does in settings .