{"id":3781,"date":"2014-01-27T21:57:36","date_gmt":"2014-01-27T13:57:36","guid":{"rendered":"http:\/\/www.janleow.com\/life\/?p=3781"},"modified":"2014-01-28T10:09:47","modified_gmt":"2014-01-28T02:09:47","slug":"wordpress-post-403-file-permission-error","status":"publish","type":"post","link":"https:\/\/www.janleow.com\/life\/wordpress-post-403-file-permission-error.html","title":{"rendered":"WordPress Posting gets 403 File Permission Error"},"content":{"rendered":"<p>Here we go again! After shifting my website to another host, some things just didn&#8217;t work right. I attempted to make a WordPress post but got a 403 File Permission error. Other than that, my entire WordPress website is running smoothly. I could view the post and pages, I could log into the dashboard and bring up the add post page.<\/p>\n<p>But when I attempted to preview or make a post, my server elicit a 403 File Permission error. Tried a few times but if it didn\u2019t work, it wouldn\u2019t work. I recall I had some similar issues some years back, giving my blog a quick searched showed a different error that I encountered, a 404 file not found error. That time it was far worse, because no post would show up!<\/p>\n<p>This time it is just not able to make any preview or post. Other than that, my WordPress was rather fine. There are two possible scenarios to this issue:<!--more--><\/p>\n<p>1) The server folder permission was set incorrectly<br \/>\n2) Plugins causing conflict within WordPress<\/p>\n<p>Since I made a move of this WordPress installation to a new web hosting server, perhaps some folder permission was set incorrectly. There are two ways to look through the file or folder permission, one by using the FTP Filezilla software, or by logging in directly into your web host control panel file manager.<\/p>\n<p>Some of the folders to look through were:<\/p>\n<blockquote><p>\n\/<br \/>\n|- index.php<br \/>\n|- <b>wp-admin<\/b><br \/>\n|   `- wp-admin.css<br \/>\n|- wp-blog-header.php<br \/>\n|- wp-comments-post.php<br \/>\n|- wp-commentsrss2.php<br \/>\n|- wp-config.php<br \/>\n|- <b>wp-content<\/b><br \/>\n|   |- cache<br \/>\n|   |- plugins<br \/>\n|   |- themes<br \/>\n|   `- uploads<br \/>\n|- wp-cron.php<br \/>\n|- <b>wp-includes<\/b><br \/>\n`- xmlrpc.php\n<\/p><\/blockquote>\n<p>I was also surprised to see some folder with permission levels of 777 when running through the folders. Having permission levels off 777 is akin of open your house door wide open allow any Tom, Dick or Harry into your living room. And since the internet has many unsavory characters you wouldn\u2019t want them into your house without a legitimate reason. It was best to revert those permission levels to 755 for some security reason. Going through the folders took a while it was quite a manual process. For security sake it has to be done.<\/p>\n<p>Next it was time to check the plugins. The right way to do this was to disable all the plugins and switch each one on and then make a preview or test post and see if the 403 File Permission error crop up. I was kind of tired from the process and took a little short cut and disabled the usual suspects. Made a preview, and hey, the preview worked.<\/p>\n<p>So it was a plugin issue, so now it was time to switch on each plugin one by one and make preview post to check it was working. Strangest thing was, I switched on every plugin that I switched off earlier and there was no issue at all!<\/p>\n<p>Perhaps the plugins need to be switch off then on again to reset its parameters after changing web host. But this was just a guess. As long as it works and no more pesky 403 file permission error when making a WordPress post, I don\u2019t have to find out the reason for this misbehaving plugins.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here we go again! After shifting my website to another host, some things just didn&#8217;t work right. I attempted to make a WordPress post but got a 403 File Permission error. Other than that, my entire WordPress website is running smoothly. I could view the post and pages, I could log into the dashboard and &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/www.janleow.com\/life\/wordpress-post-403-file-permission-error.html\"> <span class=\"screen-reader-text\">WordPress Posting gets 403 File Permission Error<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_newsletter_tier_id":0,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[6],"tags":[],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1bS5F-YZ","jetpack-related-posts":[{"id":3583,"url":"https:\/\/www.janleow.com\/life\/how-to-recover-from-a-faulty-corrupted-wordpress-sql-database-caused-by-bad-plugins.html","url_meta":{"origin":3781,"position":0},"title":"How to Recover from a Faulty Corrupted WordPress SQL Database caused by Bad Plugins","author":"Jan","date":"30 July 2012","format":false,"excerpt":"I guess eventually it would happen, the Wordpress SQL database would eventually get corrupted from bad plugins. Wordpress plugins are useful, but they also create configuration inserted into the WP_options MySQL table that are difficult to sort out. If the plugins worked well, no need to do anything. But if\u2026","rel":"","context":"In &quot;Website&quot;","block_context":{"text":"Website","link":"https:\/\/www.janleow.com\/life\/category\/website"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1755,"url":"https:\/\/www.janleow.com\/life\/matta-fair-2010.html","url_meta":{"origin":3781,"position":1},"title":"MATTA Fair 2010","author":"Jan","date":"23 February 2010","format":false,"excerpt":"There will be a MATTA travel fair from 12th-14th March 2010 at the PWTC Kuala Lumpur. Perhaps for those who are looking for some special cuti-cuti Malaysia travel holiday packages, you might want to check it out and look-look see-see. ------- Anyway, MATTA Fair is a yearly affair sometimes as\u2026","rel":"","context":"In &quot;Travel Destinations&quot;","block_context":{"text":"Travel Destinations","link":"https:\/\/www.janleow.com\/life\/category\/travel-destinations"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3752,"url":"https:\/\/www.janleow.com\/life\/replytocom-duplicate-content-error-in-webmaster-central.html","url_meta":{"origin":3781,"position":2},"title":"Replytocom duplicate content error in Webmaster Central","author":"Jan","date":"16 August 2013","format":false,"excerpt":"While browsing around the Google webmaster central, happened to bump into HTML improvement section and saw the replytocom duplicate title tags content warning. I was pretty sure what I wrote would not be duplicate within my website domain or my other sites. After all, Google frowns upon such duplicate content.\u2026","rel":"","context":"In &quot;Website&quot;","block_context":{"text":"Website","link":"https:\/\/www.janleow.com\/life\/category\/website"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4282,"url":"https:\/\/www.janleow.com\/life\/wine-mono-and-wine-gecko.html","url_meta":{"origin":3781,"position":3},"title":"WINE Mono and WINE Gecko","author":"Jan","date":"23 February 2024","format":false,"excerpt":"While trying to install some Windows software using wine, I would see error messages relating to wine mono and wine gecko. Ultimately the installation would fail. In order to fix it, it seems we need to install these additional plugins. Researching online, wine mono is related to Microsoft .Net framework.\u2026","rel":"","context":"In &quot;Computer Devices&quot;","block_context":{"text":"Computer Devices","link":"https:\/\/www.janleow.com\/life\/category\/computer-devices"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":631,"url":"https:\/\/www.janleow.com\/life\/joomla-smf-forum-installation-guide.html","url_meta":{"origin":3781,"position":4},"title":"Joomla SMF forum installation guide","author":"Jan","date":"17 April 2007","format":false,"excerpt":"I've come across several website where they have integrated Joomla with SMF (Simple Machine Forum). I thought it would be nice to have the two programs together thereby having a same overall look and feel theme when you make your own website. It turns out to be not so difficult\u2026","rel":"","context":"In &quot;Website&quot;","block_context":{"text":"Website","link":"https:\/\/www.janleow.com\/life\/category\/website"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":114,"url":"https:\/\/www.janleow.com\/life\/windows-live-messenger-error-81000306.html","url_meta":{"origin":3781,"position":5},"title":"Windows Live Messenger error 81000306","author":"Jan","date":"30 April 2008","format":false,"excerpt":"I may have a happy smile on my face getting a new Windows Vista enabled Dell Vostro 200 computer system, and would have expected the various software like Windows Live Messenger to be installed and working without a hitch; unfortunately no. Instead it gave me an \"error 81000306: you cannot\u2026","rel":"","context":"In &quot;Computer Devices&quot;","block_context":{"text":"Computer Devices","link":"https:\/\/www.janleow.com\/life\/category\/computer-devices"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/posts\/3781"}],"collection":[{"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/comments?post=3781"}],"version-history":[{"count":4,"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/posts\/3781\/revisions"}],"predecessor-version":[{"id":3785,"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/posts\/3781\/revisions\/3785"}],"wp:attachment":[{"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/media?parent=3781"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/categories?post=3781"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/tags?post=3781"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}