{"id":61386,"date":"2024-02-13T07:23:29","date_gmt":"2024-02-13T12:23:29","guid":{"rendered":"https:\/\/memberpress.com\/docs\/protecting-files\/"},"modified":"2026-01-27T08:01:03","modified_gmt":"2026-01-27T13:01:03","slug":"protecting-files","status":"publish","type":"ht_kb","link":"https:\/\/memberpress.com\/pt\/docs\/protecting-files\/","title":{"rendered":"Prote\u00e7\u00e3o de arquivos"},"content":{"rendered":"<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\"><strong>Observa\u00e7\u00e3o<\/strong>: Embora essas instru\u00e7\u00f5es ainda sejam v\u00e1lidas, desde ent\u00e3o lan\u00e7amos o complemento MemberPress Downloads, que \u00e9 uma maneira muito mais f\u00e1cil de carregar e proteger seus arquivos.  <a href=\"https:\/\/memberpress.com\/pt\/docs\/mp-downloads-add-on\/\">Clique aqui para ler mais sobre o assunto<\/a>. <\/p>\n\n\n\n<div class=\"callout\">\n<p id=\"top\"><strong><u> Abordado neste artigo:<\/u><\/strong><\/p>\n<ul>\n<li><a href=\"#file-types\">Que tipos de arquivos o MemberPress pode proteger?<\/a><\/li>\n<li><a href=\"#example\">Prote\u00e7\u00e3o de um \u00fanico arquivo<\/a><\/li>\n<li><a href=\"#mulitple\">Prote\u00e7\u00e3o de v\u00e1rios arquivos<\/a><\/li>\n<li><a href=\"#ftp\">Prote\u00e7\u00e3o de v\u00e1rios arquivos com FTP<\/a><\/li>\n<li><a href=\"#expressions\">Uso de express\u00f5es regulares<\/a><\/li>\n<li><a href=\"#reqs\">Requisitos t\u00e9cnicos<\/a><\/li>\n<li><a href=\"#add_types\">Proteger tipos de arquivos adicionais<\/a><\/li>\n<\/ul>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">MemberPress has some powerful features to help you protect static files. MemberPress\u2019s file protection works at the web-server level which provides absolute protection of each file. For example, even if a person without access to a file somehow managed to get a direct link to it, MemberPress would stop them in their tracks, and ask them to register or log in (if they\u2019ve already registered) before being allowed to download that file.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-danger\"> <strong>Observa\u00e7\u00e3o:<\/strong> Essa forma de prote\u00e7\u00e3o de arquivos exige que seu servidor use e permita o acesso a arquivos .htaccess. Alguns servidores, especialmente os servidores Ngnix, n\u00e3o o fazem. Se essas etapas n\u00e3o funcionarem em seu site, talvez seja necess\u00e1rio usar nosso <a href=\"https:\/\/memberpress.com\/pt\/docs\/mp-downloads-add-on\/\">Add-on de downloads<\/a> para proteger os arquivos.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"file-types\">Que tipos de arquivos o MemberPress pode proteger?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">O MemberPress pode proteger qualquer arquivo que n\u00e3o seja necess\u00e1rio para o funcionamento adequado de seu site.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Portanto, o MemberPress pode <em><strong>somente\u00a0<\/strong><\/em>proteger os seguintes tipos de arquivos:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">'zip','gz','tar','rar','doc','docx','xls','xlsx','xlsm','pdf','mp4','m4v','mp3','ts','key','m3u8'<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Se quiser proteger qualquer tipo de arquivo que n\u00e3o esteja listado acima, recomendamos apenas compact\u00e1-los e proteger um \u00fanico arquivo .zip.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Additionally, you can add some custom code to your theme\u2019s functions.php file if you have one, or to a plugin\u00a0the<br><a href=\"https:\/\/wordpress.org\/plugins\/insert-headers-and-footers\/\">C\u00f3digo WPC<\/a> (consulte este artigo para obter detalhes: <a href=\"https:\/\/memberpress.com\/pt\/docs\/how-to-add-custom-code-snippets-in-wpcode\/\">Como adicionar trechos de c\u00f3digo personalizados no WPCode<\/a>). Aqui est\u00e1 um exemplo desse c\u00f3digo:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function add_types_protectable($types, $rules) {\n  $types[] = 'csv';\n  return $types;\n}\nadd_filter('mepr_rewrite_rules_protect_types', 'add_types_protectable', 11, 2);<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">After adding that custom code you will need\u00a0to refresh your WordPress permalinks by going to your WordPress Dashboard > Settings > Permalinks > and simply clicking the \u2018Save Changes\u2019 button at the bottom of that page.\u00a0<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\"><strong>Observa\u00e7\u00e3o: <\/strong>we don\u2019t recommend protecting PHP, HTML, images, javascript, css, fonts or other frequently accessed website files as it will hurt performance.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a class=\"callout dashed\" href=\"#top\">Voltar ao topo<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"custom-uri-rules\"><a href=\"#custom-uri-rules\" title=\"\">Explica\u00e7\u00e3o das regras de URI personalizado do MemberPress<\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">As regras de URI personalizadas preenchem as lacunas onde as regras padr\u00e3o s\u00e3o insuficientes, garantindo uma prote\u00e7\u00e3o abrangente do conte\u00fado em todo o seu site.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<span class=\"G4cOBzFvn3ED0HUA7a1RkiJMrVweW6PjSIfg9y\"><div class=\"responsive-video\"><iframe title=\"Quando usar regras de URI personalizadas no MemberPress (e como cri\u00e1-las)\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/wDoQl7CWR8A?feature=oembed&enablejsapi=1\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div><\/span>\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Casos de uso comuns<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><a href=\"https:\/\/memberpress.com\/pt\/docs\/rules-overview\/#custom-uri-rules\" target=\"_blank\" rel=\"noopener\" title=\"\">Regras de URI personalizadas<\/a><\/strong> protect content that standard MemberPress rules cannot reach. Unlike regular rules that work through WordPress\u2019s content processing, Custom URI rules protect URLs directly at the server level.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1. P\u00e1ginas especiais do WordPress<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Standard page rules don\u2019t affect special pages like the homepage, posts page, category archives, or archive pages. Use Custom URI rules to protect these areas by targeting their specific URLs.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>2. Conte\u00fado do construtor de p\u00e1ginas<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As regras padr\u00e3o MemberPress protegem apenas o conte\u00fado adicionado por meio da fun\u00e7\u00e3o de conte\u00fado do WordPress (o <strong><code>the_content()<\/code><\/strong> ). Muitos construtores de p\u00e1ginas e temas renderizam seu conte\u00fado fora dessa fun\u00e7\u00e3o. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Dessa forma, o conte\u00fado renderizado dessa maneira permanecer\u00e1 desprotegido quando as regras padr\u00e3o do MemberPress forem aplicadas. Em vez disso, voc\u00ea pode usar regras de URI personalizadas para proteger toda a p\u00e1gina ou publica\u00e7\u00e3o.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>3. Prote\u00e7\u00e3o de diret\u00f3rios<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Voc\u00ea tamb\u00e9m pode proteger v\u00e1rios arquivos de forma eficiente, direcionando diret\u00f3rios inteiros com uma \u00fanica regra usando curingas (por exemplo, <code>\/downloads\/*<\/code>).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"example\"><a href=\"#example\" title=\"\">Prote\u00e7\u00e3o de um \u00fanico arquivo<\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you have one file to protect then here\u2019s how you\u2019d do it:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Carregue o arquivo usando o Media Uploader do WordPress.<\/li>\n\n\n\n<li>Crie uma Custom URI Rule para proteger o arquivo.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Digamos que o arquivo que voc\u00ea carregou tinha este URL:<br><a href=\"http:\/\/example.com\/wp-content\/uploads\/2015\/10\/report.pdf\">http:\/\/example.com\/wp-content\/uploads\/2015\/10\/report.pdf<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The Rule you\u2019d create for this file would be a Custom URI type pointing at just the path (part after<br><a href=\"http:\/\/example.com\">http:\/\/example.com<\/a>) para o arquivo. Assim, na caixa de texto dessa regra, voc\u00ea digitaria o seguinte:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">\/wp-content\/uploads\/2014\/12\/report.pdf<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Though this is a relatively simple process for a small number of files, it can become time-consuming if applied to a larger number of files. So let\u2019s see how you can create 1 Rule to protect multiple files.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a class=\"callout dashed\" href=\"#top\">Voltar ao topo<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mulitple\"><a href=\"#mulitple\" title=\"\">V\u00e1rios arquivos<\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Now let\u2019s say you have 10 files and want the same membership level to have access to each.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The idea here is that you\u2019d want to either put each file in a special folder with FTP (recommended), or make sure that each file you upload via the Media Uploader has a common prefix (not recommended unless FTP isn\u2019t an option).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Even though we don\u2019t recommend protecting multiple files uploaded using the WordPress Media Uploader, we do understand that there may be times you want\/need to. Therefore, if you upload these files via the Media Uploader they\u2019d have the following URLs:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">http:\/\/example.com\/wp-content\/uploads\/2015\/10\/bronze_report.pdf\nhttp:\/\/example.com\/wp-content\/uploads\/2015\/10\/bronze_report.doc\nhttp:\/\/example.com\/wp-content\/uploads\/2015\/10\/bronze_report.docx\nhttp:\/\/example.com\/wp-content\/uploads\/2015\/10\/bronze_analysis.pdf\nhttp:\/\/example.com\/wp-content\/uploads\/2015\/10\/bronze_analysis.doc\nhttp:\/\/example.com\/wp-content\/uploads\/2015\/10\/bronze_analysis.docx\nhttp:\/\/example.com\/wp-content\/uploads\/2015\/10\/bronze_groupings.pdf\nhttp:\/\/example.com\/wp-content\/uploads\/2015\/10\/bronze_groupings.doc\nhttp:\/\/example.com\/wp-content\/uploads\/2015\/10\/bronze_groupings.docx\nhttp:\/\/example.com\/wp-content\/uploads\/2015\/10\/bronze_archive.zip<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Now all you\u2019d have to do is create 1 Custom URI type Rule with this as its path:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">\/wp-content\/uploads\/2015\/10\/bronze_<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Isso proteger\u00e1 qualquer arquivo na pasta \/wp-content\/uploads\/2015\/10\/ cujo nome comece com \u201cbronze_\u201d.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a class=\"callout dashed\" href=\"#top\">Voltar ao topo<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"ftp\">V\u00e1rios arquivos com FTP<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">O FTP\/SFTP \u00e9 uma maneira robusta de transferir arquivos do seu computador local para o seu site. A maioria dos hosts da Web oferece servi\u00e7os de FTP gratuitos para que voc\u00ea possa acessar os arquivos do seu site remotamente a partir do seu pr\u00f3prio computador. A disponibilidade do FTP pode variar de um host da Web para outro e pode ter requisitos diferentes. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Typically you\u2019ll need an FTP client like <a href=\"https:\/\/filezilla-project.org\/\" title=\"Filezilla\">FileZilla<\/a> ou <a href=\"http:\/\/cyberduck.io\/\" title=\"Cyberduck\">Cyberduck<\/a> to connect to your server via FTP\/SFTP. This will allow you to have filesystem access to your webserver to create folders and upload files in a way similar to how you\u2019d copy files between folders on your own local computer.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this example we\u2019ll use FTP to create a folder named protected and import our files into it so we have the following URLs now:<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-danger\"><strong>Observa\u00e7\u00e3o:<\/strong>\u00a0As regras de URI personalizadas n\u00e3o funcionar\u00e3o para arquivos se o seu site estiver sendo executado em<strong> Servidores Nginx<\/strong>. Se voc\u00ea criar a pasta em wp-content\/uploads, as regras de URI poder\u00e3o funcionar para voc\u00ea. Recomendamos o uso da tag <a href=\"https:\/\/memberpress.com\/pt\/docs\/mp-downloads-add-on\/\">MemberPress Complemento para downloads<\/a> para proteger arquivos em servidores Ngnix.\u00a0<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">http:\/\/example.com\/protected\/report.pdf\nhttp:\/\/example.com\/protected\/report.doc\nhttp:\/\/example.com\/protected\/report.docx\nhttp:\/\/example.com\/protected\/analysis.pdf\nhttp:\/\/example.com\/protected\/analysis.doc\nhttp:\/\/example.com\/protected\/analysis.docx\nhttp:\/\/example.com\/protected\/groupings.pdf\nhttp:\/\/example.com\/protected\/groupings.doc\nhttp:\/\/example.com\/protected\/groupings.docx\nhttp:\/\/example.com\/protected\/archive.zip<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This scenario can be superior to using the WordPress Media Uploader if you\u2019re planning on adding files to your folder later because WordPress\u2019s Media Uploader will sometimes put files uploaded at different times in different folders.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So with this example, all you\u2019d have to do is create a Custom URI type Rule with this as the path (typed into the text box for the Rule):<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">\/protected\/<\/pre>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-danger\">\n\t<strong>Observa\u00e7\u00e3o:<\/strong> Se isso n\u00e3o funcionar e voc\u00ea estiver em um servidor Apache. Certifique-se de que as regras de reescrita do MemberPress n\u00e3o tenham sido desativadas, acessando <strong>MemberPress-&gt;Configura\u00e7\u00f5es-&gt;Geral<\/strong> e desmarcando a op\u00e7\u00e3o <strong>\u201cDesativar regras de reescrita\u201d<\/strong> e, em seguida, salve as altera\u00e7\u00f5es.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now let\u2019s look at using some more advanced matching with Regular Expressions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a class=\"callout dashed\" href=\"#top\">Voltar ao topo<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"expressions\">Express\u00f5es regulares<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a title=\"Express\u00f5es regulares\" href=\"https:\/\/memberpress.com\/pt\/how-to-become-a-regular-expression-power-user\/\" target=\"_blank\" rel=\"noopener\">Express\u00f5es regulares<\/a> \u00e9 uma sintaxe de pesquisa exclusiva e descritiva comumente usada em todas as linguagens de programa\u00e7\u00e3o modernas para selecionar e processar texto. Isso permitir\u00e1 que voc\u00ea proteja grupos muito espec\u00edficos de arquivos com facilidade.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">Observa\u00e7\u00e3o: as express\u00f5es regulares s\u00e3o mais bem utilizadas nos casos em que voc\u00ea precisa proteger v\u00e1rios URLs de uma s\u00f3 vez.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A ideia aqui \u00e9 permitir a correspond\u00eancia de padr\u00f5es em um determinado URL e proteger o URL se ele corresponder a uma de suas regras personalizadas do tipo URI com express\u00e3o regular ativada.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, in the FTP example from above, if you wanted to allow some users to have access to just the pdf\u2019s and others to have access to your pdf, doc, docx, and zip files you could create 2 different regular expression Rules \u2014 the first for one membership level and the second for another.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A primeira regra para seu primeiro n\u00edvel de associa\u00e7\u00e3o teria um caminho semelhante:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">^\/protected\/.*\\.pdf\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">A segunda regra para seu outro n\u00edvel de associa\u00e7\u00e3o teria um caminho semelhante:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">^\/protected\/.*\\.(pdf|doc|docx|zip)\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Granted, Regular Expressions can be difficult to master, but they can provide some powerful matching and file-protecting capabilities in MemberPress Custom URI type Rules. We\u2019ve found that<br><a href=\"http:\/\/www.regular-expressions.info\/\">http:\/\/www.regular-expressions.info\/<\/a> \u00e9 um bom recurso para quem deseja entender essa poderosa tecnologia. Al\u00e9m disso, se voc\u00ea tiver necessidades mais complexas, nossa equipe de suporte \u00e9 bastante habilidosa em descobrir express\u00f5es regulares para tudo o que voc\u00ea precisa proteger \u2014 portanto, sinta-se \u00e0 vontade para enviar uma solicita\u00e7\u00e3o. <a class=\"heroickb_exit_link\" href=\"?hkb-redirect&nonce=db518b7b49&check=5jkls&redirect=https%3A%2F%2Fmemberpress.com%2Fsupport%2F&otype=unknown&oid=0&source=block-content\" title=\"Solicita\u00e7\u00e3o de suporte premium\">solicita\u00e7\u00e3o de suporte<\/a> se voc\u00ea precisar de ajuda com esse recurso.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a class=\"callout dashed\" href=\"#top\">Voltar ao topo<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Requisitos t\u00e9cnicos<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Because this feature utilizes your website\u2019s underlying webserver to protect files, there are some technical requirements that must be met in order for this feature to work properly. We\u2019ve written MemberPress to work with the most common server configurations out there but if things aren\u2019t working fully for you, here are some things to check:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Your website must be served by Apache or an Apache-compatible web server like Litespeed. The rewrite rules that MemberPress installs are specific to Apache.\u00a0If you\u2019re unsure what web server you\u2019re using then it\u2019s probably Apache, but to be sure, you can contact your web host. MemberPress does not support file protection on other web servers like Nginx, IIS, or other non-Apache-based servers. However, if your webserver is using Nginx as a proxy (in front of Apache), you may be able to use the Nginx proxy bypass code outlined in the Nginx section on <a href=\"http:\/\/docs.memberpress.com\/article\/179-understanding-rewrite-rules\" target=\"_blank\" rel=\"noopener\">esta p\u00e1gina<\/a>.<\/li>\n\n\n\n<li>Sua instala\u00e7\u00e3o do WordPress deve ter privil\u00e9gios suficientes para fazer altera\u00e7\u00f5es no seu arquivo .htaccess. Se o seu arquivo .htaccess n\u00e3o puder ser gravado pelo WordPress, voc\u00ea poder\u00e1 edit\u00e1-lo manualmente seguindo nossas instru\u00e7\u00f5es. <a title=\"Instru\u00e7\u00f5es de reescrita\" href=\"http:\/\/docs.memberpress.com\/article\/179-understanding-rewrite-rules\" target=\"_blank\" rel=\"noopener\">Instru\u00e7\u00f5es avan\u00e7adas de reescrita<\/a>.<\/li>\n\n\n\n<li>Your WordPress install must have the ability to write files in your \/wp-content\/uploads folder. This is also a requirement for the WordPress Media Uploader to upload files so if that\u2019s working then this should be working as well.<\/li>\n\n\n\n<li>Cloudflare and other CDN\u2019s and caching have the potential of getting in the way of file protection. This is because they either cache the file so it can not be protected, or they interfere with our protection cookies and cause infinite redirect loops. <\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\"><strong>Observa\u00e7\u00e3o: <\/strong>Por isso, se voc\u00ea estiver tendo problemas com a prote\u00e7\u00e3o de arquivos, desative qualquer CDN e cache para verificar se essa \u00e9 uma poss\u00edvel causa. <em>antes de <\/em>entrando em contato com nosso suporte.<\/p>\n\n\n\n<ol start=\"5\" class=\"wp-block-list\">\n<li>As regras de reescrita MemberPress devem estar ativadas. V\u00e1 para MemberPress-&gt;Configura\u00e7\u00f5es-&gt;Geral, desmarque a caixa de sele\u00e7\u00e3o \u201cDesativar regras de reescrita\u201d e salve as altera\u00e7\u00f5es.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">We\u2019ve also seen users with custom rewrite rules that have interfered with the MemberPress rewrite rules. So if this feature doesn\u2019t seem to be working and you feel like you\u2019ve gone through all of these steps, please contact our <a class=\"heroickb_exit_link\" href=\"?hkb-redirect&nonce=db518b7b49&check=5jkls&redirect=https%3A%2F%2Fmemberpress.com%2Fsupport%2F&otype=unknown&oid=0&source=block-content\" title=\"Solicita\u00e7\u00e3o de suporte premium\">equipe de suporte<\/a> and we\u2019ll help.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a class=\"callout dashed\" href=\"#top\">Voltar ao topo<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"add_types\">Proteger tipos de arquivos adicionais<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">O MemberPress pode proteger outros tipos de arquivos. Lembre-se de que cada solicita\u00e7\u00e3o HTTP de tipo de arquivo protegido causar\u00e1 uma segunda solicita\u00e7\u00e3o ao site para verificar se o arquivo est\u00e1 protegido ou n\u00e3o. Por esse motivo, n\u00e3o recomendamos a prote\u00e7\u00e3o de arquivos como imagens (jpg, png, gif, etc.), scripts (css, js) ou arquivos de fonte, pois isso poderia causar uma carga significativa em seu servidor. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Use o seguinte c\u00f3digo personalizado em um plugin como o <a href=\"https:\/\/wordpress.org\/plugins\/insert-headers-and-footers\/\">C\u00f3digo WPC<\/a> para adicionar outros tipos de arquivos. Consulte este artigo para obter detalhes: <a href=\"https:\/\/memberpress.com\/pt\/docs\/how-to-add-custom-code-snippets-in-wpcode\/\">Como adicionar trechos de c\u00f3digo personalizados no WPCode<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The code below adds \u201chtml\u201d and \u201chtm\u201d file types to the list of protected files. Once adding this code, you\u2019ll also need to refresh your WordPress permalink settings to force WordPress to update the .htaccess file for your site.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function add_types_protectable($types, $rules) {\n  $types[] = 'htm';\n  $types[] = 'html';\n  return $types;\n}\nadd_filter('mepr_rewrite_rules_protect_types', 'add_types_protectable', 11, 2);<\/pre>","protected":false},"excerpt":{"rendered":"<p>Covered in this article: What types of files can MemberPress Protect Protecting a Single File Protecting Multiple Files Protecting Multiple Files with FTP Using Regular Expressions Technical Requirements Protect Additional File-Types MemberPress has some powerful features to help you protect static files. MemberPress\u2019s file protection works at the web-server level which provides absolute protection of [\u2026]<\/p>\n","protected":false},"author":62252,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"_strive_editorial_status":"not-started","_strive_copy_of":0,"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","_FSMCFIC_featured_image_caption":"","_FSMCFIC_featured_image_nocaption":"","_FSMCFIC_featured_image_hide":"","_strive_checklists":"\"\"","_strive_active_checklist":"62291e2bb2422","footnotes":""},"ht-kb-category":[1322],"ht-kb-tag":[],"class_list":["post-61386","ht_kb","type-ht_kb","status-publish","format-standard","ht_kb_category-protecting-content","entry"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO Pro 5.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Note: Though these instructions are still valid, we have since released the MemberPress Downloads Add-on which is a much easier way of uploading and protecting your files. Click here to read more about it. Common Use Cases Custom URI rules protect content that standard MemberPress rules cannot reach. Unlike regular rules that work through WordPress&#039;s\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Nikola M\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/memberpress.com\/pt\/docs\/protecting-files\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO Pro (AIOSEO) 5.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"pt_BR\" \/>\n\t\t<meta property=\"og:site_name\" content=\"MemberPress\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Protecting Files | MemberPress\" \/>\n\t\t<meta property=\"og:description\" content=\"Note: Though these instructions are still valid, we have since released the MemberPress Downloads Add-on which is a much easier way of uploading and protecting your files. Click here to read more about it. Common Use Cases Custom URI rules protect content that standard MemberPress rules cannot reach. Unlike regular rules that work through WordPress&#039;s\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/memberpress.com\/pt\/docs\/protecting-files\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1650\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1275\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-02-13T12:23:29+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-01-27T13:01:03+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/memberpress\/\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@memberpress\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Protecting Files | MemberPress\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Note: Though these instructions are still valid, we have since released the MemberPress Downloads Add-on which is a much easier way of uploading and protecting your files. Click here to read more about it. Common Use Cases Custom URI rules protect content that standard MemberPress rules cannot reach. Unlike regular rules that work through WordPress&#039;s\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/protecting-files\\\/#article\",\"name\":\"Protecting Files | MemberPress\",\"headline\":\"Protecting Files\",\"author\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/blog\\\/author\\\/nikolacaseproof-com\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/mp-icon-RGB_Icon-01.jpg\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/#articleImage\",\"width\":1650,\"height\":1275,\"caption\":\"memberpress logo icon\"},\"datePublished\":\"2024-02-13T07:23:29-05:00\",\"dateModified\":\"2026-01-27T08:01:03-05:00\",\"inLanguage\":\"pt-BR\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/protecting-files\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/protecting-files\\\/#webpage\"},\"articleSection\":\"Protecting Content\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/protecting-files\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/memberpress.com\\\/pt\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/doc-categories\\\/general\\\/#listItem\",\"name\":\"General\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/doc-categories\\\/general\\\/#listItem\",\"position\":2,\"name\":\"General\",\"item\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/doc-categories\\\/general\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/doc-categories\\\/protecting-content\\\/#listItem\",\"name\":\"Protecting Content\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/doc-categories\\\/protecting-content\\\/#listItem\",\"position\":3,\"name\":\"Protecting Content\",\"item\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/doc-categories\\\/protecting-content\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/protecting-files\\\/#listItem\",\"name\":\"Protecting Files\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/doc-categories\\\/general\\\/#listItem\",\"name\":\"General\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/protecting-files\\\/#listItem\",\"position\":4,\"name\":\"Protecting Files\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/doc-categories\\\/protecting-content\\\/#listItem\",\"name\":\"Protecting Content\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/#organization\",\"name\":\"MemberPress\",\"description\":\"The All-In-One WordPress Membership Plugin\",\"url\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/mp-icon-RGB_Icon-01.jpg\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/protecting-files\\\/#organizationLogo\",\"width\":1650,\"height\":1275,\"caption\":\"memberpress logo icon\"},\"image\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/protecting-files\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.instagram.com\\\/memberpress\\\/\",\"https:\\\/\\\/www.pinterest.com\\\/memberpressplugin\\\/\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/MemberPressPlugin\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/memberpress\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/blog\\\/author\\\/nikolacaseproof-com\\\/#author\",\"url\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/blog\\\/author\\\/nikolacaseproof-com\\\/\",\"name\":\"Nikola M\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/protecting-files\\\/#authorImage\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/litespeed\\\/avatar\\\/1edf820c48f9c430f380efe81887b154.jpg?ver=1787237640\",\"width\":96,\"height\":96,\"caption\":\"Nikola M\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/protecting-files\\\/#webpage\",\"url\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/protecting-files\\\/\",\"name\":\"Protecting Files | MemberPress\",\"description\":\"Note: Though these instructions are still valid, we have since released the MemberPress Downloads Add-on which is a much easier way of uploading and protecting your files. Click here to read more about it. Common Use Cases Custom URI rules protect content that standard MemberPress rules cannot reach. Unlike regular rules that work through WordPress's\",\"inLanguage\":\"pt-BR\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/protecting-files\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/blog\\\/author\\\/nikolacaseproof-com\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/blog\\\/author\\\/nikolacaseproof-com\\\/#author\"},\"datePublished\":\"2024-02-13T07:23:29-05:00\",\"dateModified\":\"2026-01-27T08:01:03-05:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/#website\",\"url\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/\",\"name\":\"MemberPress\",\"description\":\"The All-In-One WordPress Membership Plugin\",\"inLanguage\":\"pt-BR\",\"publisher\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO Pro -->\r\n\t\t<title>Protecting Files | MemberPress<\/title>\n\n","aioseo_head_json":{"title":"Prote\u00e7\u00e3o de arquivos | MemberPress","description":"Observa\u00e7\u00e3o: embora essas instru\u00e7\u00f5es ainda sejam v\u00e1lidas, desde ent\u00e3o lan\u00e7amos o complemento MemberPress Downloads, que \u00e9 uma maneira muito mais f\u00e1cil de carregar e proteger seus arquivos. Clique aqui para ler mais sobre ele. Casos de uso comuns As regras de URI personalizadas protegem o conte\u00fado que as regras padr\u00e3o do MemberPress n\u00e3o conseguem alcan\u00e7ar. Diferentemente das regras regulares que funcionam por meio do","canonical_url":"https:\/\/memberpress.com\/pt\/docs\/protecting-files\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/memberpress.com\/pt\/docs\/protecting-files\/#article","name":"Protecting Files | MemberPress","headline":"Protecting Files","author":{"@id":"https:\/\/memberpress.com\/pt\/blog\/author\/nikolacaseproof-com\/#author"},"publisher":{"@id":"https:\/\/memberpress.com\/pt\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg","@id":"https:\/\/memberpress.com\/pt\/#articleImage","width":1650,"height":1275,"caption":"memberpress logo icon"},"datePublished":"2024-02-13T07:23:29-05:00","dateModified":"2026-01-27T08:01:03-05:00","inLanguage":"pt-BR","mainEntityOfPage":{"@id":"https:\/\/memberpress.com\/pt\/docs\/protecting-files\/#webpage"},"isPartOf":{"@id":"https:\/\/memberpress.com\/pt\/docs\/protecting-files\/#webpage"},"articleSection":"Protecting Content"},{"@type":"BreadcrumbList","@id":"https:\/\/memberpress.com\/pt\/docs\/protecting-files\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt#listItem","position":1,"name":"Home","item":"https:\/\/memberpress.com\/pt","nextItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt\/doc-categories\/general\/#listItem","name":"General"}},{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt\/doc-categories\/general\/#listItem","position":2,"name":"General","item":"https:\/\/memberpress.com\/pt\/doc-categories\/general\/","nextItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt\/doc-categories\/protecting-content\/#listItem","name":"Protecting Content"},"previousItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt\/doc-categories\/protecting-content\/#listItem","position":3,"name":"Protecting Content","item":"https:\/\/memberpress.com\/pt\/doc-categories\/protecting-content\/","nextItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt\/docs\/protecting-files\/#listItem","name":"Protecting Files"},"previousItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt\/doc-categories\/general\/#listItem","name":"General"}},{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt\/docs\/protecting-files\/#listItem","position":4,"name":"Protecting Files","previousItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt\/doc-categories\/protecting-content\/#listItem","name":"Protecting Content"}}]},{"@type":"Organization","@id":"https:\/\/memberpress.com\/pt\/#organization","name":"MemberPress","description":"The All-In-One WordPress Membership Plugin","url":"https:\/\/memberpress.com\/pt\/","logo":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg","@id":"https:\/\/memberpress.com\/pt\/docs\/protecting-files\/#organizationLogo","width":1650,"height":1275,"caption":"memberpress logo icon"},"image":{"@id":"https:\/\/memberpress.com\/pt\/docs\/protecting-files\/#organizationLogo"},"sameAs":["https:\/\/www.instagram.com\/memberpress\/","https:\/\/www.pinterest.com\/memberpressplugin\/","https:\/\/www.youtube.com\/c\/MemberPressPlugin","https:\/\/www.linkedin.com\/company\/memberpress\/"]},{"@type":"Person","@id":"https:\/\/memberpress.com\/pt\/blog\/author\/nikolacaseproof-com\/#author","url":"https:\/\/memberpress.com\/pt\/blog\/author\/nikolacaseproof-com\/","name":"Nikola M","image":{"@type":"ImageObject","@id":"https:\/\/memberpress.com\/pt\/docs\/protecting-files\/#authorImage","url":"https:\/\/memberpress.com\/wp-content\/litespeed\/avatar\/1edf820c48f9c430f380efe81887b154.jpg?ver=1787237640","width":96,"height":96,"caption":"Nikola M"}},{"@type":"WebPage","@id":"https:\/\/memberpress.com\/pt\/docs\/protecting-files\/#webpage","url":"https:\/\/memberpress.com\/pt\/docs\/protecting-files\/","name":"Protecting Files | MemberPress","description":"Note: Though these instructions are still valid, we have since released the MemberPress Downloads Add-on which is a much easier way of uploading and protecting your files. Click here to read more about it. Common Use Cases Custom URI rules protect content that standard MemberPress rules cannot reach. Unlike regular rules that work through WordPress's","inLanguage":"pt-BR","isPartOf":{"@id":"https:\/\/memberpress.com\/pt\/#website"},"breadcrumb":{"@id":"https:\/\/memberpress.com\/pt\/docs\/protecting-files\/#breadcrumblist"},"author":{"@id":"https:\/\/memberpress.com\/pt\/blog\/author\/nikolacaseproof-com\/#author"},"creator":{"@id":"https:\/\/memberpress.com\/pt\/blog\/author\/nikolacaseproof-com\/#author"},"datePublished":"2024-02-13T07:23:29-05:00","dateModified":"2026-01-27T08:01:03-05:00"},{"@type":"WebSite","@id":"https:\/\/memberpress.com\/pt\/#website","url":"https:\/\/memberpress.com\/pt\/","name":"MemberPress","description":"The All-In-One WordPress Membership Plugin","inLanguage":"pt-BR","publisher":{"@id":"https:\/\/memberpress.com\/pt\/#organization"}}]},"og:locale":"pt_BR","og:site_name":"MemberPress","og:type":"article","og:title":"Protecting Files | MemberPress","og:description":"Note: Though these instructions are still valid, we have since released the MemberPress Downloads Add-on which is a much easier way of uploading and protecting your files. Click here to read more about it. Common Use Cases Custom URI rules protect content that standard MemberPress rules cannot reach. Unlike regular rules that work through WordPress's","og:url":"https:\/\/memberpress.com\/pt\/docs\/protecting-files\/","og:image":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg","og:image:secure_url":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg","og:image:width":1650,"og:image:height":1275,"article:published_time":"2024-02-13T12:23:29+00:00","article:modified_time":"2026-01-27T13:01:03+00:00","article:publisher":"https:\/\/www.facebook.com\/memberpress\/","twitter:card":"summary_large_image","twitter:site":"@memberpress","twitter:title":"Protecting Files | MemberPress","twitter:description":"Note: Though these instructions are still valid, we have since released the MemberPress Downloads Add-on which is a much easier way of uploading and protecting your files. Click here to read more about it. Common Use Cases Custom URI rules protect content that standard MemberPress rules cannot reach. Unlike regular rules that work through WordPress's","twitter:image":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg"},"aioseo_meta_data":{"post_id":"61386","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"seo_analyzer_scan_date":"2026-08-21 02:38:33","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":"0","open_ai":"{\"title\":{\"suggestions\":[],\"usage\":0},\"description\":{\"suggestions\":[],\"usage\":0}}","ai":{"faqs":[],"keyPoints":[],"titles":[],"descriptions":[],"socialPosts":{"email":[],"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2024-02-13 12:23:29","updated":"2026-08-21 02:38:33","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/memberpress.com\/pt\" title=\"Home\">Home<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/memberpress.com\/pt\/doc-categories\/general\/\" title=\"General\">General<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/memberpress.com\/pt\/doc-categories\/protecting-content\/\" title=\"Protecting Content\">Protecting Content<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\tProtecting Files\n<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/memberpress.com\/pt"},{"label":"General","link":"https:\/\/memberpress.com\/pt\/doc-categories\/general\/"},{"label":"Protecting Content","link":"https:\/\/memberpress.com\/pt\/doc-categories\/protecting-content\/"},{"label":"Protecting Files","link":"https:\/\/memberpress.com\/pt\/docs\/protecting-files\/"}],"_links":{"self":[{"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/ht-kb\/61386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/users\/62252"}],"replies":[{"embeddable":true,"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/comments?post=61386"}],"version-history":[{"count":4,"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/ht-kb\/61386\/revisions"}],"predecessor-version":[{"id":78770,"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/ht-kb\/61386\/revisions\/78770"}],"wp:attachment":[{"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/media?parent=61386"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/ht-kb-category?post=61386"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/ht-kb-tag?post=61386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}