{"id":2178,"date":"2015-04-19T17:57:10","date_gmt":"2015-04-19T17:57:10","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=2178"},"modified":"2015-04-19T17:57:10","modified_gmt":"2015-04-19T17:57:10","slug":"custom-error-documents-in-plesk-12","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2015\/04\/19\/custom-error-documents-in-plesk-12\/","title":{"rendered":"Custom error documents in Plesk 12"},"content":{"rendered":"<p>To add custom error documents in plesk 12, you will need to\u00a0edit\/add an .htaccess file<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# cd \/var\/www\/vhosts\/domain.com\/httpdocs\/\n<\/pre>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n# mkdir error_pages\n<\/pre>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n# nano .htaccess\nErrorDocument 404 \/error_pages\/404.php\n<\/pre>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n#cd error_pages\n<\/pre>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n# nano 404.php\n&lt;h1&gt;Not Found&lt;\/h1&gt;\n\n<\/pre>\n<p>Save the file and then test with a bogus URL<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To add custom error documents in plesk 12, you will need to\u00a0edit\/add an .htaccess file # cd \/var\/www\/vhosts\/domain.com\/httpdocs\/ # mkdir error_pages # nano .htaccess ErrorDocument 404 \/error_pages\/404.php #cd error_pages # nano 404.php &lt;h1&gt;Not Found&lt;\/h1&gt; Save the file and then test with a bogus URL<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[86],"tags":[],"class_list":["post-2178","post","type-post","status-publish","format-standard","hentry","category-plesk"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/2178","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=2178"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/2178\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=2178"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=2178"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=2178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}