This guide explains how to enable SVG file uploads on your WordPress site using Oxygen without the need for additional plugins or code snippets. By default, WordPress restricts SVG uploads due to security concerns, but Oxygen offers a straightforward solution.
How to Enable SVG Uploads
- Navigate to Oxygen > Settings within your WordPress dashboard.
- Proceed to the Advanced tab.
- Before enabling SVG uploads, acknowledge the security warning presented. Enabling SVG uploads can present security risks. Consult the security documentation for detailed information on these risks. If there’s a possibility of unsafe SVG files being uploaded, consider using a sanitization plugin like Safe SVG.
- If you decide to proceed, check the box labeled Enable SVG uploads within the advanced settings.
- Save your changes.