{"id":744,"date":"2021-01-13T03:10:00","date_gmt":"2021-01-13T03:10:00","guid":{"rendered":"https:\/\/www.oflox.com\/blog\/?p=744"},"modified":"2021-03-19T04:09:57","modified_gmt":"2021-03-19T04:09:57","slug":"how-to-protect-website-source-code","status":"publish","type":"post","link":"https:\/\/www.oflox.com\/blog\/how-to-protect-website-source-code\/","title":{"rendered":"How To Protect Website Source Code In WordPress &#038; PHP?"},"content":{"rendered":"\n<p>Hey, I will tell you today, <strong><a href=\"https:\/\/www.oflox.com\/blog\/how-to-protect-website-source-code\/\">How To Protect Website Source Code<\/a><\/strong>, <strong><a href=\"https:\/\/www.oflox.com\/blog\/how-to-protect-website-source-code\/\">Hide Source Code WordPress<\/a><\/strong>, <strong><a href=\"https:\/\/www.oflox.com\/blog\/how-to-protect-website-source-code\/\">How To Hide Source Code In PHP<\/a><\/strong>, &amp; <strong><a href=\"https:\/\/www.oflox.com\/blog\/how-to-protect-website-source-code\/\">How To Hide Source Code From Public View<\/a><\/strong>, if you want to know, then keep reading this post.<\/p>\n\n\n\n<p>Today I am going to tell you the <strong><a href=\"https:\/\/www.oflox.com\/blog\/how-to-protect-website-source-code\/\">tips to protect this website<\/a><\/strong>, you use these tips on your WordPress website, HTML website and PHP website. Because I am going to tell different tips for these three websites?<\/p>\n\n\n\n<p>So, friends, without losing time, we quickly learn how to <strong><a href=\"https:\/\/www.oflox.com\/blog\/how-to-protect-website-source-code\/\">Protect Website Source Code in WordPress<\/a> <\/strong>&amp; PHP. And how they will work. And how to use them. Let&#8217;s get to know<\/p>\n\n\n\n<figure class=\"wp-block-image alignwide\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2019\/08\/How-To-Protect-Website-Source-Code-1024x576.png\" alt=\"How To Protect Website Source Code\" class=\"wp-image-753\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2019\/08\/How-To-Protect-Website-Source-Code-1024x576.png 1024w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2019\/08\/How-To-Protect-Website-Source-Code-300x169.png 300w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2019\/08\/How-To-Protect-Website-Source-Code-768x432.png 768w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2019\/08\/How-To-Protect-Website-Source-Code-390x220.png 390w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2019\/08\/How-To-Protect-Website-Source-Code.png 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Guys, if you have created such a website. Which no one can copy and cannot have a website like yours? Therefore, you want to close the source code of your website for public view. Even if the website is built anywhere, like WordPress, PHP and etc. It works on everyone.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_83 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a01ca4ede13c\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a01ca4ede13c\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.oflox.com\/blog\/how-to-protect-website-source-code\/#1_How_To_Protect_Website_Source_Code\" >1. How To Protect Website Source Code?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.oflox.com\/blog\/how-to-protect-website-source-code\/#2_How_To_Hide_Your_Source_Code_WordPress\" >2. How To Hide Your Source Code WordPress?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.oflox.com\/blog\/how-to-protect-website-source-code\/#3_Hide_Source_Code_WordPress_Plugin\" >3. Hide Source Code WordPress Plugin?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.oflox.com\/blog\/how-to-protect-website-source-code\/#4_How_To_Hide_Source_Code_In_PHP\" >4. How To Hide Source Code In PHP?<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1_How_To_Protect_Website_Source_Code\"><\/span>1. How To Protect Website Source Code?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Friends, this method is very simple and simple. You can use any of your website whose source code you want to protect for public view. First of all, you have to put this code inside the head tag of your website&#8217;s index page ie Header page. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;body oncontextmenu=\"return false\"&gt;<\/code><\/pre>\n\n\n\n<p><strong>Note:<\/strong> With this code, you can hide the source code of any website for public view.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n&lt;head&gt;\n&lt;title&gt;Title Here!!!&lt;\/tiel&gt;\n&lt;\/head&gt;\n&lt;body oncontextmenu=\"return false\"&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2_How_To_Hide_Your_Source_Code_WordPress\"><\/span>2. How To Hide Your Source Code WordPress?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Guys if your website is on WordPress. And looking for, <strong>How To Hide Your Source Code WordPress<\/strong>, you can use this code to hide your source code. And in you, this will only be Right Click Disable of Mouse. So how do we prototype with Code on a WordPress website? Let&#8217;s get to know.<\/p>\n\n\n\n<p>First you login to your WordPress website dashboard. After that, after clicking on the Appearance button, click on the Theme Editor button. Or After clicking, open the file Header.php of the theme used in the WordPress website.        <\/p>\n\n\n\n<p>After opening, now you have to find <strong>&lt;body&gt; <\/strong>Tag. And this code that we have given. Copy and replace. And then you save it, and after saving, the Word Code of your WordPress website will be hidden for Public View. And Mouse&#8217;s Right Click will be disabled.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;body id=\"tie-body\" oncontextmenu=\"return false\" &lt;?php body_class(); ?&gt;&gt;<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image alignwide\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"443\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2019\/08\/How-To-Hide-Your-Source-Code-Wordpress-1024x443.png\" alt=\"How To Hide Your Source Code WordPress\" class=\"wp-image-756\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2019\/08\/How-To-Hide-Your-Source-Code-Wordpress-1024x443.png 1024w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2019\/08\/How-To-Hide-Your-Source-Code-Wordpress-300x130.png 300w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2019\/08\/How-To-Hide-Your-Source-Code-Wordpress-768x332.png 768w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2019\/08\/How-To-Hide-Your-Source-Code-Wordpress.png 1342w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Or Friends,  how to use this code in WordPress website, you must see this screenshot for it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3_Hide_Source_Code_WordPress_Plugin\"><\/span>3. Hide Source Code WordPress Plugin?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Guys if you have created your website WordPress, and you do not want to use this code. Or not doing it. And even then, you are looking for that, how to hide source code WordPress plugin, let us know. And Protect your WordPress website through Plugin. <\/p>\n\n\n\n<p>First of all, log in to your WordPress website dashboard. And add a new plugin. The name of the plugin is <strong>WP Content Copy Protection &amp; No Right Click<\/strong>. You can activate it. And this plugin looks like this.<\/p>\n\n\n\n<figure class=\"wp-block-image alignwide\"><img loading=\"lazy\" decoding=\"async\" width=\"592\" height=\"270\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2019\/08\/hide-source-code-wordpress-plugin.png\" alt=\"Hide Source Code WordPress Plugin\" class=\"wp-image-760\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2019\/08\/hide-source-code-wordpress-plugin.png 592w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2019\/08\/hide-source-code-wordpress-plugin-300x137.png 300w\" sizes=\"auto, (max-width: 592px) 100vw, 592px\" \/><\/figure>\n\n\n\n<p>After activating this plugin, you have to open its setting. And here is some sort of setting shown in this Graphics. And the Dummy Text is given in this setting if you want to change. So can.<\/p>\n\n\n\n<figure class=\"wp-block-image alignwide\"><img loading=\"lazy\" decoding=\"async\" width=\"747\" height=\"816\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2019\/08\/hide-source-code-wordpress-plugin-2.png\" alt=\"\" class=\"wp-image-761\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2019\/08\/hide-source-code-wordpress-plugin-2.png 747w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2019\/08\/hide-source-code-wordpress-plugin-2-275x300.png 275w\" sizes=\"auto, (max-width: 747px) 100vw, 747px\" \/><\/figure>\n\n\n\n<p>And friends, in this way you can protect your WordPress website without just a plugin of a code.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"4_How_To_Hide_Source_Code_In_PHP\"><\/span>4. How To Hide Source Code In PHP?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Friends, if you have made your website in HD again on PSP, then who can you use it? Through this court, you can easily protect your website. You have to paste this code in the <strong>&lt;body&gt;<\/strong> tag of your PHP website. And then save\u2026<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;body oncontextmenu=\"return false\"&gt;<\/code><\/pre>\n\n\n\n<p>After that, I hope that your website will be Protected. But if it is not happening, then you can also use this code. Because if it does not happen, then it will definitely happen. You have to paste this code in the source code of your page, which you want to Protect, and you can add this code anywhere in the tag. Your website will definitely be protected.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;script type='text\/javascript'&gt;\n if (typeof document.onselectstart != \"undefined\") {\n document.onselectstart = new Function(\"return false\");\n } else {\n document.onmousedown = new Function(\"return false\");\n document.onmouseup = new Function(\"return false\");\n }\n&lt;\/script&gt;<\/code><\/pre>\n\n\n\n<p>So I hope that now you will not search on google how to Protect Website Source Code because now you have protracted the website with WordPress or PHP. If this post is good, then share it with all your developer and blogger friends. Who wants to hide the source code of their website.<\/p>\n\n\n\n<p><strong>Note:<\/strong> By using this and the tips are given by us, if there is any damage to your website at any time, then we are not responsible for it, so you should use this code only after checking it.<\/p>\n\n\n\n<p>And if you want to get information about us, that is, you want to know more about\u00a0<em><a href=\"https:\/\/www.oflox.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Oflox Digital Marketing Company<\/a><\/em>. So you must watch this video of ours. <\/p>\n\n\n\n<figure class=\"wp-block-embed alignwide 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<iframe loading=\"lazy\" title=\"Oflox Is The Best And [Top] Web Development Company In Dehradun l Dehradun Web Development Company?\" width=\"1200\" height=\"675\" src=\"https:\/\/www.youtube.com\/embed\/SEM6dsdn0Hk?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>Or Friends, if you want to know more about\u00a0<a href=\"https:\/\/www.oflox.com\/\">Oflox Digital Marketing Company<\/a>, then follow us on\u00a0<a href=\"https:\/\/facebook.com\/OfloxIndia\/\">Facebook<\/a>,\u00a0<a href=\"http:\/\/twitter.com\/oflox3\">Twitter<\/a>, and\u00a0<a href=\"https:\/\/instagram.com\/ofloxindia\">Instagram<\/a>\u00a0page And thank you very much for reading this post. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hey, I will tell you today, How To Protect Website Source Code, Hide Source Code WordPress, How To Hide Source &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How To Protect Website Source Code In WordPress &#038; PHP?\" class=\"read-more button\" href=\"https:\/\/www.oflox.com\/blog\/how-to-protect-website-source-code\/#more-744\" aria-label=\"More on How To Protect Website Source Code In WordPress &#038; PHP?\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":753,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,577],"tags":[621,618,622,623,625,620,619,617,624],"class_list":["post-744","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-designing","category-wordpress","tag-hide-html-source-code-using-php","tag-hide-source-code-wordpress","tag-how-to-encrypt-html-source-code-using-jquery","tag-how-to-hide-angularjs-source-codes","tag-how-to-hide-javascript-code-from-view-source","tag-how-to-hide-source-code-from-public-view","tag-how-to-hide-source-code-in-php","tag-how-to-protect-website-source-code","tag-how-to-view-hidden-source-code","resize-featured-image"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How To Protect Website Source Code In WordPress &amp; PHP?<\/title>\n<meta name=\"description\" content=\"Hey, I will tell you today, How To Protect Website Source Code, Hide Source Code WordPress, How To Hide Source Code In PHP, &amp; How To Hide\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.oflox.com\/blog\/how-to-protect-website-source-code\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Protect Website Source Code In WordPress &amp; PHP?\" \/>\n<meta property=\"og:description\" content=\"Hey, I will tell you today, How To Protect Website Source Code, Hide Source Code WordPress, How To Hide Source Code In PHP, &amp; How To Hide\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.oflox.com\/blog\/how-to-protect-website-source-code\/\" \/>\n<meta property=\"og:site_name\" content=\"Oflox\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ofloxindia\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/ofloxindia\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-13T03:10:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-03-19T04:09:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2019\/08\/How-To-Protect-Website-Source-Code.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Editorial Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@oflox3\" \/>\n<meta name=\"twitter:site\" content=\"@oflox3\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Editorial Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/how-to-protect-website-source-code\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/how-to-protect-website-source-code\\\/\"},\"author\":{\"name\":\"Editorial Team\",\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/#\\\/schema\\\/person\\\/967235da2149ca663a607d1c0acd4f81\"},\"headline\":\"How To Protect Website Source Code In WordPress &#038; PHP?\",\"datePublished\":\"2021-01-13T03:10:00+00:00\",\"dateModified\":\"2021-03-19T04:09:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/how-to-protect-website-source-code\\\/\"},\"wordCount\":835,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/how-to-protect-website-source-code\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/How-To-Protect-Website-Source-Code.png\",\"keywords\":[\"hide html source code using php\",\"Hide Source Code WordPress\",\"how to encrypt html source code using jquery\",\"how to hide angularjs source codes\",\"how to hide javascript code from view source\",\"How To Hide Source Code From Public View\",\"How To Hide Source Code In PHP\",\"How To Protect Website Source Code\",\"how to view hidden source code\"],\"articleSection\":[\"Web Designing\",\"WordPress\"],\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.oflox.com\\\/blog\\\/how-to-protect-website-source-code\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/how-to-protect-website-source-code\\\/\",\"url\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/how-to-protect-website-source-code\\\/\",\"name\":\"How To Protect Website Source Code In WordPress & PHP?\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/how-to-protect-website-source-code\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/how-to-protect-website-source-code\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/How-To-Protect-Website-Source-Code.png\",\"datePublished\":\"2021-01-13T03:10:00+00:00\",\"dateModified\":\"2021-03-19T04:09:57+00:00\",\"description\":\"Hey, I will tell you today, How To Protect Website Source Code, Hide Source Code WordPress, How To Hide Source Code In PHP, & How To Hide\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/how-to-protect-website-source-code\\\/#breadcrumb\"},\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.oflox.com\\\/blog\\\/how-to-protect-website-source-code\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/how-to-protect-website-source-code\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/How-To-Protect-Website-Source-Code.png\",\"contentUrl\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/How-To-Protect-Website-Source-Code.png\",\"width\":1280,\"height\":720,\"caption\":\"How To Protect Website Source Code\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/how-to-protect-website-source-code\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Protect Website Source Code In WordPress &#038; PHP?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/\",\"name\":\"Oflox\",\"description\":\"India&rsquo;s #1 Trusted Digital Marketing Company\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/#organization\",\"name\":\"Oflox\",\"url\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/Ab2vH5fv3tj5gKpW_G3bKT_Ozlxpt4IkokKOWQoC7X_fvRHLGT_gR-qhQzXVxHhnl9u3yGY1rfxR7jvSz6DA6gw355-h355.jpg\",\"contentUrl\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/Ab2vH5fv3tj5gKpW_G3bKT_Ozlxpt4IkokKOWQoC7X_fvRHLGT_gR-qhQzXVxHhnl9u3yGY1rfxR7jvSz6DA6gw355-h355.jpg\",\"width\":355,\"height\":355,\"caption\":\"Oflox\"},\"image\":{\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/ofloxindia\",\"https:\\\/\\\/x.com\\\/oflox3\",\"https:\\\/\\\/www.instagram.com\\\/ofloxindia\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/#\\\/schema\\\/person\\\/967235da2149ca663a607d1c0acd4f81\",\"name\":\"Editorial Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ff86524713a69d2c211ad6cbec38fb15eb59030ba5e59ddad406dfb7eb4e5b0c?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ff86524713a69d2c211ad6cbec38fb15eb59030ba5e59ddad406dfb7eb4e5b0c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ff86524713a69d2c211ad6cbec38fb15eb59030ba5e59ddad406dfb7eb4e5b0c?s=96&d=mm&r=g\",\"caption\":\"Editorial Team\"},\"sameAs\":[\"https:\\\/\\\/www.oflox.com\\\/\",\"https:\\\/\\\/www.facebook.com\\\/ofloxindia\\\/\",\"https:\\\/\\\/www.instagram.com\\\/ofloxindia\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/ofloxindia\\\/\",\"https:\\\/\\\/x.com\\\/oflox3\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Protect Website Source Code In WordPress & PHP?","description":"Hey, I will tell you today, How To Protect Website Source Code, Hide Source Code WordPress, How To Hide Source Code In PHP, & How To Hide","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.oflox.com\/blog\/how-to-protect-website-source-code\/","og_locale":"en_US","og_type":"article","og_title":"How To Protect Website Source Code In WordPress & PHP?","og_description":"Hey, I will tell you today, How To Protect Website Source Code, Hide Source Code WordPress, How To Hide Source Code In PHP, & How To Hide","og_url":"https:\/\/www.oflox.com\/blog\/how-to-protect-website-source-code\/","og_site_name":"Oflox","article_publisher":"https:\/\/www.facebook.com\/ofloxindia","article_author":"https:\/\/www.facebook.com\/ofloxindia\/","article_published_time":"2021-01-13T03:10:00+00:00","article_modified_time":"2021-03-19T04:09:57+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2019\/08\/How-To-Protect-Website-Source-Code.png","type":"image\/png"}],"author":"Editorial Team","twitter_card":"summary_large_image","twitter_creator":"@oflox3","twitter_site":"@oflox3","twitter_misc":{"Written by":"Editorial Team","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.oflox.com\/blog\/how-to-protect-website-source-code\/#article","isPartOf":{"@id":"https:\/\/www.oflox.com\/blog\/how-to-protect-website-source-code\/"},"author":{"name":"Editorial Team","@id":"https:\/\/www.oflox.com\/blog\/#\/schema\/person\/967235da2149ca663a607d1c0acd4f81"},"headline":"How To Protect Website Source Code In WordPress &#038; PHP?","datePublished":"2021-01-13T03:10:00+00:00","dateModified":"2021-03-19T04:09:57+00:00","mainEntityOfPage":{"@id":"https:\/\/www.oflox.com\/blog\/how-to-protect-website-source-code\/"},"wordCount":835,"commentCount":0,"publisher":{"@id":"https:\/\/www.oflox.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.oflox.com\/blog\/how-to-protect-website-source-code\/#primaryimage"},"thumbnailUrl":"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2019\/08\/How-To-Protect-Website-Source-Code.png","keywords":["hide html source code using php","Hide Source Code WordPress","how to encrypt html source code using jquery","how to hide angularjs source codes","how to hide javascript code from view source","How To Hide Source Code From Public View","How To Hide Source Code In PHP","How To Protect Website Source Code","how to view hidden source code"],"articleSection":["Web Designing","WordPress"],"inLanguage":"en","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.oflox.com\/blog\/how-to-protect-website-source-code\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.oflox.com\/blog\/how-to-protect-website-source-code\/","url":"https:\/\/www.oflox.com\/blog\/how-to-protect-website-source-code\/","name":"How To Protect Website Source Code In WordPress & PHP?","isPartOf":{"@id":"https:\/\/www.oflox.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.oflox.com\/blog\/how-to-protect-website-source-code\/#primaryimage"},"image":{"@id":"https:\/\/www.oflox.com\/blog\/how-to-protect-website-source-code\/#primaryimage"},"thumbnailUrl":"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2019\/08\/How-To-Protect-Website-Source-Code.png","datePublished":"2021-01-13T03:10:00+00:00","dateModified":"2021-03-19T04:09:57+00:00","description":"Hey, I will tell you today, How To Protect Website Source Code, Hide Source Code WordPress, How To Hide Source Code In PHP, & How To Hide","breadcrumb":{"@id":"https:\/\/www.oflox.com\/blog\/how-to-protect-website-source-code\/#breadcrumb"},"inLanguage":"en","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.oflox.com\/blog\/how-to-protect-website-source-code\/"]}]},{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/www.oflox.com\/blog\/how-to-protect-website-source-code\/#primaryimage","url":"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2019\/08\/How-To-Protect-Website-Source-Code.png","contentUrl":"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2019\/08\/How-To-Protect-Website-Source-Code.png","width":1280,"height":720,"caption":"How To Protect Website Source Code"},{"@type":"BreadcrumbList","@id":"https:\/\/www.oflox.com\/blog\/how-to-protect-website-source-code\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.oflox.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How To Protect Website Source Code In WordPress &#038; PHP?"}]},{"@type":"WebSite","@id":"https:\/\/www.oflox.com\/blog\/#website","url":"https:\/\/www.oflox.com\/blog\/","name":"Oflox","description":"India&rsquo;s #1 Trusted Digital Marketing Company","publisher":{"@id":"https:\/\/www.oflox.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.oflox.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en"},{"@type":"Organization","@id":"https:\/\/www.oflox.com\/blog\/#organization","name":"Oflox","url":"https:\/\/www.oflox.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/www.oflox.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2020\/05\/Ab2vH5fv3tj5gKpW_G3bKT_Ozlxpt4IkokKOWQoC7X_fvRHLGT_gR-qhQzXVxHhnl9u3yGY1rfxR7jvSz6DA6gw355-h355.jpg","contentUrl":"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2020\/05\/Ab2vH5fv3tj5gKpW_G3bKT_Ozlxpt4IkokKOWQoC7X_fvRHLGT_gR-qhQzXVxHhnl9u3yGY1rfxR7jvSz6DA6gw355-h355.jpg","width":355,"height":355,"caption":"Oflox"},"image":{"@id":"https:\/\/www.oflox.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ofloxindia","https:\/\/x.com\/oflox3","https:\/\/www.instagram.com\/ofloxindia"]},{"@type":"Person","@id":"https:\/\/www.oflox.com\/blog\/#\/schema\/person\/967235da2149ca663a607d1c0acd4f81","name":"Editorial Team","image":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/secure.gravatar.com\/avatar\/ff86524713a69d2c211ad6cbec38fb15eb59030ba5e59ddad406dfb7eb4e5b0c?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ff86524713a69d2c211ad6cbec38fb15eb59030ba5e59ddad406dfb7eb4e5b0c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ff86524713a69d2c211ad6cbec38fb15eb59030ba5e59ddad406dfb7eb4e5b0c?s=96&d=mm&r=g","caption":"Editorial Team"},"sameAs":["https:\/\/www.oflox.com\/","https:\/\/www.facebook.com\/ofloxindia\/","https:\/\/www.instagram.com\/ofloxindia\/","https:\/\/www.linkedin.com\/company\/ofloxindia\/","https:\/\/x.com\/oflox3"]}]}},"_links":{"self":[{"href":"https:\/\/www.oflox.com\/blog\/wp-json\/wp\/v2\/posts\/744","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oflox.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oflox.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oflox.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oflox.com\/blog\/wp-json\/wp\/v2\/comments?post=744"}],"version-history":[{"count":0,"href":"https:\/\/www.oflox.com\/blog\/wp-json\/wp\/v2\/posts\/744\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.oflox.com\/blog\/wp-json\/wp\/v2\/media\/753"}],"wp:attachment":[{"href":"https:\/\/www.oflox.com\/blog\/wp-json\/wp\/v2\/media?parent=744"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oflox.com\/blog\/wp-json\/wp\/v2\/categories?post=744"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oflox.com\/blog\/wp-json\/wp\/v2\/tags?post=744"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}