Enable SVG uploads and sanitize them to stop XML/SVG vulnerabilities in your WordPress website.
WP Original Media Path
Hospedagem WordPress com plugin WP Original Media Path
Onde devo hospedar o plugin WP Original Media Path?
Este plugin pode ser hospedado em qualquer servidor que tenha WordPress instalado. Recomendamos escolher uma hospedagem de confiança, com servidores especializados para WordPress, como o serviço de hospedagem da MCO2.
Hospedando o plugin WP Original Media Path em um provedor seguro
A MCO2, além de configurar e instalar o WordPress na versão mais nova para seus clientes, disponibiliza o WP SafePress, um mecanismo exclusivo que assegura e otimiza seu site simultaneamente.
Por que a Hospedagem WordPress funciona melhor na MCO2?
A Hospedagem WordPress funciona melhor pois a MCO2 possui servidores otimizados para WordPress. A instalação de WordPress é diferente de uma instalação trivial, pois habilita imediatamente recursos como otimização automática de imagens e fotos, proteção da página de login, bloqueio de atividades maliciosas diretamente no firewall, cache avançado e HTTPS ativado por padrão. São recursos que potencializam seu WordPress para a máxima segurança e o máximo desempenho.
WordPress still stores the location of the uploads folder and its URL, but has hidden these two settings since version 3.5. This plugin brings them back, with safeguards.
Install, activate, then open Settings > WP Original Media Path and enter the URL you want. The folder follows.
What for?
- Serve your media from a subdomain, for example
https://media.example.com. - Rename the folder, for example
https://example.com/mediainstead ofwp-content/uploads. - Work locally with the production images. On a local copy of a site, enter the production URL (
https://www.example.com/wp-content/uploads): images show up without downloading the uploads folder.
How it works
The folder and its URL are easy to mix up: files stored in one place, looked for in another. Here you only enter the URL, and the folder follows. The settings page shows, with your own values, where the files go.
- A URL on your site’s domain:
https://example.com/mediastores files in themediafolder at the root of your site. Nothing else to set up. - Another domain or a subdomain: it must point to the right folder of this server, shown on the settings page.
https://media.example.comkeeps the files inwp-content/uploads: point the subdomain to that folder. With a path (https://cdn.example.com/media), themediafolder is created at the root of your site: point the domain to that root. - An empty URL brings back the WordPress default.
- Expert mode lets you enter the folder and the URL yourself (absolute path, protocol-relative URL…).
- Files already uploaded are never moved.
On a multisite network, only super admins can change these settings, site by site. Enter URLs from the network root (https://example.com/media, even for https://example.com/site-b). WordPress adds /sites/ID to the folder and URL of each sub-site, so two sites never share a folder.
