{"id":24059,"date":"2017-10-26T06:00:46","date_gmt":"2017-10-26T11:00:46","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=24059"},"modified":"2022-06-03T03:41:54","modified_gmt":"2022-06-03T08:41:54","slug":"how-to-fix-the-403-forbidden-error-in-wordpress","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-fix-the-403-forbidden-error-in-wordpress\/","title":{"rendered":"403 Forbidden Error in WordPress"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"alignleft size-full wp-image-25835\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/403-Forbidden-Error-in-WordPress.jpg\" alt=\"403 Forbidden Error in WordPress\" width=\"1200\" height=\"600\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/403-Forbidden-Error-in-WordPress.jpg 1200w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/403-Forbidden-Error-in-WordPress-150x75.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/403-Forbidden-Error-in-WordPress-300x150.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/403-Forbidden-Error-in-WordPress-768x384.jpg 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/403-Forbidden-Error-in-WordPress-1024x512.jpg 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/403-Forbidden-Error-in-WordPress-860x430.jpg 860w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/403-Forbidden-Error-in-WordPress-680x340.jpg 680w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/403-Forbidden-Error-in-WordPress-500x250.jpg 500w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/403-Forbidden-Error-in-WordPress-400x200.jpg 400w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/403-Forbidden-Error-in-WordPress-200x100.jpg 200w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/403-Forbidden-Error-in-WordPress-50x25.jpg 50w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent 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-69d27930f1ee8\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><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-69d27930f1ee8\"  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.rosehosting.com\/blog\/how-to-fix-the-403-forbidden-error-in-wordpress\/#What-is-a-403-Forbidden-Error\" >What is a 403 Forbidden Error?<\/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.rosehosting.com\/blog\/how-to-fix-the-403-forbidden-error-in-wordpress\/#What-Causes-403-Forbidden-Error-in-WordPress\" >What Causes 403 Forbidden Error in 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.rosehosting.com\/blog\/how-to-fix-the-403-forbidden-error-in-wordpress\/#1-Complete-Backup-of-WordPress\" >1. Complete Backup of WordPress<\/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.rosehosting.com\/blog\/how-to-fix-the-403-forbidden-error-in-wordpress\/#2-Fixing-403-Forbidden-Error-in-WordPress-Caused-by-Plugins\" >2. Fixing 403 Forbidden Error in WordPress Caused by Plugins<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-fix-the-403-forbidden-error-in-wordpress\/#3-Fix-403-Forbidden-Error-Caused-by-File-Permissions-in-WordPress\" >3. Fix 403 Forbidden Error Caused by File Permissions in WordPress<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-fix-the-403-forbidden-error-in-wordpress\/#4-Fix-403-Forbidden-Error-Caused-by-Corrupt-htaccess-File\" >4. Fix 403 Forbidden Error Caused by Corrupt .htaccess File<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"What-is-a-403-Forbidden-Error\"><\/span>What is a 403 Forbidden Error?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The\u00a0403 Forbidden error in WordPress, is an HTTP status code which appears when we don&#8217;t have permissions to access a specific page or a resource on our website, most probably because of some improper configuration of our web server. In most cases, it may take more time to actually identify and find what exactly is causing this 403 forbidden error on WordPress, than fixing the error itself.<\/p>\n<p>In this article, we will go over what exactly the 403 Forbidden Error means when it appears on your WordPress sites, and\u00a0how to easily fix the 403 forbidden error, access denied in WordPress.<\/p>\n<p><!--more--><\/p>\n<h2><span class=\"ez-toc-section\" id=\"What-Causes-403-Forbidden-Error-in-WordPress\"><\/span>What Causes 403 Forbidden Error in WordPress?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img decoding=\"async\" class=\"size-full wp-image-24064 aligncenter\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/403-forbidden-error.png\" alt=\"403 forbidden error\" width=\"500\" height=\"317\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/403-forbidden-error.png 500w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/403-forbidden-error-150x95.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/403-forbidden-error-300x190.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/403-forbidden-error-400x254.png 400w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/403-forbidden-error-200x127.png 200w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/403-forbidden-error-50x32.png 50w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/p>\n<p>When your server permissions don\u2019t allow access to a specific page, The 403 Forbidden error code is shown. When it comes to our WordPress site we can narrow down the appearance of the 403 Forbidden error to a couple of scenarios:<\/p>\n<ul>\n<li><strong>403 Forbidden error in WordPress when we try to access your WordPress login page (wp-admin)<\/strong><\/li>\n<li><strong>403 Forbidden error in WordPress during your WordPress installation<\/strong><\/li>\n<li><strong>403 Forbidden error in WordPress when trying to access a page on your site.<\/strong><\/li>\n<li><strong>403 Forbidden error in WordPress after migrating your site from another server.<\/strong><\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"1-Complete-Backup-of-WordPress\"><\/span>1. Complete Backup of WordPress<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Before we start doing anything it is highly recommended to make a complete backup of your WordPress site.<\/p>\n<p>To do this, you will first need to <a href=\"https:\/\/www.rosehosting.com\/blog\/connect-to-your-linux-vps-via-ssh\/\"> login to your server via SSH.<\/a><\/p>\n<p>Next, navigate to your WordPress root directory. For example, it could be located at: \/var\/www\/html\/wordpress\/.<\/p>\n<p>To make a full archived backup of your whole WordPress site, you can execute the following command:<\/p>\n<pre>tar -cpzf wp-backup.tar.gz \/var\/www\/html\/wordpress\/<\/pre>\n<p>Additionally, you will also need to make a backup of your database. Your WordPress database stores all the information about your website like posts, pages, comments, user accounts, plugin configurations etc.<\/p>\n<p>To make a full backup of your database you can use the following command, followed by your database password:<\/p>\n<pre>mysqldump -u db_user -p db_name &gt; wp_db_backup.sql<\/pre>\n<p>Make sure to change the wp-user and wp-database accordingly with your actual database user and database name.<\/p>\n<p>If you are not sure of your database information that is currently connected to your WordPress site, you can check the wp-config.php file inside your WordPress root directory and look for the following lines:<\/p>\n<pre>define('DB_NAME', 'db_name');\r\ndefine('DB_USER', 'db_user'); \r\ndefine('DB_PASSWORD', 'db_password')<\/pre>\n<p>Now we have a full backup of our WordPress site and we can move on to fix the 403 Forbidden error in WordPress we are getting.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"2-Fixing-403-Forbidden-Error-in-WordPress-Caused-by-Plugins\"><\/span>2. Fixing 403 Forbidden Error in WordPress Caused by Plugins<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img decoding=\"async\" class=\"size-full wp-image-24071 aligncenter\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Fixing-403-Forbidden-Error-in-WordPress-Caused-by-Plugins.jpg\" alt=\"Fixing 403 Forbidden Error in WordPress Caused by Plugins\" width=\"750\" height=\"250\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Fixing-403-Forbidden-Error-in-WordPress-Caused-by-Plugins.jpg 750w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Fixing-403-Forbidden-Error-in-WordPress-Caused-by-Plugins-150x50.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Fixing-403-Forbidden-Error-in-WordPress-Caused-by-Plugins-300x100.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Fixing-403-Forbidden-Error-in-WordPress-Caused-by-Plugins-680x227.jpg 680w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Fixing-403-Forbidden-Error-in-WordPress-Caused-by-Plugins-500x167.jpg 500w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Fixing-403-Forbidden-Error-in-WordPress-Caused-by-Plugins-400x133.jpg 400w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Fixing-403-Forbidden-Error-in-WordPress-Caused-by-Plugins-200x67.jpg 200w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Fixing-403-Forbidden-Error-in-WordPress-Caused-by-Plugins-50x17.jpg 50w\" sizes=\"(max-width: 750px) 100vw, 750px\" \/><\/p>\n<p>One of the reasons for this error could be a faulty plugin. The easiest way to identify if the 403 Forbidden error is caused by a plugin is to temporarily disable all the plugins you have on your WordPress site.<\/p>\n<p>If the error is gone after we disable all the plugins, then we can confirm it is indeed a plugin causing this error. We can then start turning the plugins back on, one at a time, and keep checking when the error appears again, so we can identify the exact plugin that is causing 403 forbidden error.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"3-Fix-403-Forbidden-Error-Caused-by-File-Permissions-in-WordPress\"><\/span>3. Fix 403 Forbidden Error Caused by File Permissions in WordPress<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img decoding=\"async\" class=\"alignright wp-image-24074\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Fix-403-Forbidden-Error-Caused-by-File-Permissions-in-WordPress.jpg\" alt=\"Fix 403 Forbidden Error Caused by File Permissions in WordPress\" width=\"271\" height=\"294\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Fix-403-Forbidden-Error-Caused-by-File-Permissions-in-WordPress.jpg 305w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Fix-403-Forbidden-Error-Caused-by-File-Permissions-in-WordPress-138x150.jpg 138w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Fix-403-Forbidden-Error-Caused-by-File-Permissions-in-WordPress-276x300.jpg 276w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Fix-403-Forbidden-Error-Caused-by-File-Permissions-in-WordPress-200x217.jpg 200w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Fix-403-Forbidden-Error-Caused-by-File-Permissions-in-WordPress-50x54.jpg 50w\" sizes=\"(max-width: 271px) 100vw, 271px\" \/><\/p>\n<p>The 403 Forbidden error, may also occur due to incorrect file permissions or wrong ownership of your WordPress files and directories. To change the ownership to a given user\/group of your WordPress directory, use the following command:<\/p>\n<pre>chown www-data:www-data -R \/var\/www\/html\/wordpress\/<\/pre>\n<p>Replace &#8216;www-data&#8217; with the actual web server user, and &#8216;\/var\/www\/html\/wordpress&#8217; with the actual path of the WordPress installation.<\/p>\n<p>You should also check permission rules for all the files and directories.<\/p>\n<p>All the directories should have their permissions set to 744 or 755.<\/p>\n<p>And all the files should have their permissions set to 640 or 644.<\/p>\n<p>If any file or directory has wrong permissions, you can manually change them. For example, if we want to change the permissions of the wp-content directory to 755, we can use the following command:<\/p>\n<pre>chmod 755 wp-content<\/pre>\n<p>Be very careful when dealing with file permissions on your server, because you can easily break something if you are not careful enough. If you are not sure what you are doing, it is best to contact your hosting provider to assist you with this matter.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"4-Fix-403-Forbidden-Error-Caused-by-Corrupt-htaccess-File\"><\/span>4. Fix 403 Forbidden Error Caused by Corrupt .htaccess File<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img decoding=\"async\" class=\"size-full wp-image-24077 alignnone\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Fix-403-Forbidden-Error-Caused-by-Corrupt-htaccess-File-.jpg\" alt=\"Fix 403 Forbidden Error Caused by Corrupt .htaccess File\" width=\"880\" height=\"552\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Fix-403-Forbidden-Error-Caused-by-Corrupt-htaccess-File-.jpg 880w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Fix-403-Forbidden-Error-Caused-by-Corrupt-htaccess-File--150x94.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Fix-403-Forbidden-Error-Caused-by-Corrupt-htaccess-File--300x188.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Fix-403-Forbidden-Error-Caused-by-Corrupt-htaccess-File--768x482.jpg 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Fix-403-Forbidden-Error-Caused-by-Corrupt-htaccess-File--860x539.jpg 860w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Fix-403-Forbidden-Error-Caused-by-Corrupt-htaccess-File--680x427.jpg 680w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Fix-403-Forbidden-Error-Caused-by-Corrupt-htaccess-File--500x314.jpg 500w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Fix-403-Forbidden-Error-Caused-by-Corrupt-htaccess-File--400x251.jpg 400w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Fix-403-Forbidden-Error-Caused-by-Corrupt-htaccess-File--200x125.jpg 200w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/Fix-403-Forbidden-Error-Caused-by-Corrupt-htaccess-File--50x31.jpg 50w\" sizes=\"(max-width: 880px) 100vw, 880px\" \/><\/p>\n<p>Another possible reason that could lead to this error is a corrupted .htaccess file.<\/p>\n<p>The .htaccess file is located in your WordPress root directory. Navigate to this directory with the following command (alternatively, you can use some FTP client like FileZilla):<\/p>\n<pre>cd\u00a0\/var\/www\/html\/wordpress\/<\/pre>\n<p>Once we have located the .htaccess file, we can temporarily save it under a different name, so we can check if is really this file that is causing the problem. To rename the file, use the following command:<\/p>\n<pre>mv .htaccess .htaccess.backup<\/pre>\n<p>Now, we should try to load our website and check if the error is gone. If the error is still there, then the problem is not with the .htaccess file and we can safely change it back to its original name with:<\/p>\n<pre>mv .htaccess.backup .htaccess<\/pre>\n<p>If removing the .htaccess file corrects the 403 Forbidden error, it means the .htaccess file is corrupted. We can then create a new basic .htaccess file containing the following information:<\/p>\n<p># BEGIN WordPress<br \/>\n&lt;IfModule mod_rewrite.c&gt;<br \/>\nRewriteEngine On<br \/>\nRewriteBase \/<br \/>\nRewriteRule ^index\\.php$ &#8211; [L]<br \/>\nRewriteCond %{REQUEST_FILENAME} !-f<br \/>\nRewriteCond %{REQUEST_FILENAME} !-d<br \/>\nRewriteRule . \/index.php [L]<br \/>\n&lt;\/IfModule&gt;<br \/>\n# END WordPress<\/p>\n<p>&nbsp;<\/p>\n<p>Fixing the 403 Forbidden error in<b>\u00a0<\/b>WordPress, is an easy task if you have a <a href=\"https:\/\/www.rosehosting.com\/wordpress-hosting.html\">WordPress Hosting<\/a> with us. Feel free to ask our expert Linux Administrators to fix the 403 Forbidden error\u00a0in WordPress for you, and it will be taken care of immediately. They are available 24&#215;7, so you can get the help you need at any time.<\/p>\n<p><span style=\"color: #ff0000;\">PS.<\/span> Feel free to share this blog post on how to fix the 403 Forbidden Error in WordPress, if you liked it by using the social network shortcuts &#8211; you can also leave a comment instead, found under the share buttons.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is a 403 Forbidden Error? The\u00a0403 Forbidden error in WordPress, is an HTTP status code which appears when we &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"403 Forbidden Error in WordPress\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-fix-the-403-forbidden-error-in-wordpress\/#more-24059\" aria-label=\"Read more about 403 Forbidden Error in WordPress\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":25835,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1710],"tags":[1622,1545,1593,148],"class_list":["post-24059","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cms-crm-erp","tag-1622","tag-403-forbidden-error","tag-fix-wordpress-error","tag-wordpress","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Fix the 403 Forbidden Error in WordPress<\/title>\n<meta name=\"description\" content=\"Fixing the 403 forbidden access denied error in WordPress, is an easy task, just follow this guide on how to easily fix the 403 forbidden error in WordPress.\" \/>\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.rosehosting.com\/blog\/how-to-fix-the-403-forbidden-error-in-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"403 Forbidden Error in WordPress\" \/>\n<meta property=\"og:description\" content=\"403 Forbidden Error in WordPress | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-fix-the-403-forbidden-error-in-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2017-10-26T11:00:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-03T08:41:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/403-Forbidden-Error-in-WordPress.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\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.rosehosting.com\\\/blog\\\/how-to-fix-the-403-forbidden-error-in-wordpress\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-fix-the-403-forbidden-error-in-wordpress\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"403 Forbidden Error in WordPress\",\"datePublished\":\"2017-10-26T11:00:46+00:00\",\"dateModified\":\"2022-06-03T08:41:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-fix-the-403-forbidden-error-in-wordpress\\\/\"},\"wordCount\":970,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-fix-the-403-forbidden-error-in-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/10\\\/403-Forbidden-Error-in-WordPress.jpg\",\"keywords\":[\"403\",\"403 forbidden error\",\"fix WordPress error\",\"wordpress\"],\"articleSection\":[\"CMS, CRM, ERP\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-fix-the-403-forbidden-error-in-wordpress\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-fix-the-403-forbidden-error-in-wordpress\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-fix-the-403-forbidden-error-in-wordpress\\\/\",\"name\":\"How to Fix the 403 Forbidden Error in WordPress\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-fix-the-403-forbidden-error-in-wordpress\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-fix-the-403-forbidden-error-in-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/10\\\/403-Forbidden-Error-in-WordPress.jpg\",\"datePublished\":\"2017-10-26T11:00:46+00:00\",\"dateModified\":\"2022-06-03T08:41:54+00:00\",\"description\":\"Fixing the 403 forbidden access denied error in WordPress, is an easy task, just follow this guide on how to easily fix the 403 forbidden error in WordPress.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-fix-the-403-forbidden-error-in-wordpress\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-fix-the-403-forbidden-error-in-wordpress\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-fix-the-403-forbidden-error-in-wordpress\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/10\\\/403-Forbidden-Error-in-WordPress.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/10\\\/403-Forbidden-Error-in-WordPress.jpg\",\"width\":1200,\"height\":600,\"caption\":\"403 Forbidden Error in WordPress\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-fix-the-403-forbidden-error-in-wordpress\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"403 Forbidden Error in WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Fix the 403 Forbidden Error in WordPress","description":"Fixing the 403 forbidden access denied error in WordPress, is an easy task, just follow this guide on how to easily fix the 403 forbidden error in WordPress.","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.rosehosting.com\/blog\/how-to-fix-the-403-forbidden-error-in-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"403 Forbidden Error in WordPress","og_description":"403 Forbidden Error in WordPress | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-fix-the-403-forbidden-error-in-wordpress\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2017-10-26T11:00:46+00:00","article_modified_time":"2022-06-03T08:41:54+00:00","og_image":[{"width":1200,"height":600,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/403-Forbidden-Error-in-WordPress.jpg","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-fix-the-403-forbidden-error-in-wordpress\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-fix-the-403-forbidden-error-in-wordpress\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"403 Forbidden Error in WordPress","datePublished":"2017-10-26T11:00:46+00:00","dateModified":"2022-06-03T08:41:54+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-fix-the-403-forbidden-error-in-wordpress\/"},"wordCount":970,"commentCount":2,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-fix-the-403-forbidden-error-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/403-Forbidden-Error-in-WordPress.jpg","keywords":["403","403 forbidden error","fix WordPress error","wordpress"],"articleSection":["CMS, CRM, ERP"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-fix-the-403-forbidden-error-in-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-fix-the-403-forbidden-error-in-wordpress\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-fix-the-403-forbidden-error-in-wordpress\/","name":"How to Fix the 403 Forbidden Error in WordPress","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-fix-the-403-forbidden-error-in-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-fix-the-403-forbidden-error-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/403-Forbidden-Error-in-WordPress.jpg","datePublished":"2017-10-26T11:00:46+00:00","dateModified":"2022-06-03T08:41:54+00:00","description":"Fixing the 403 forbidden access denied error in WordPress, is an easy task, just follow this guide on how to easily fix the 403 forbidden error in WordPress.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-fix-the-403-forbidden-error-in-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-fix-the-403-forbidden-error-in-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-fix-the-403-forbidden-error-in-wordpress\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/403-Forbidden-Error-in-WordPress.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/403-Forbidden-Error-in-WordPress.jpg","width":1200,"height":600,"caption":"403 Forbidden Error in WordPress"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-fix-the-403-forbidden-error-in-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"403 Forbidden Error in WordPress"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/24059","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=24059"}],"version-history":[{"count":1,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/24059\/revisions"}],"predecessor-version":[{"id":41855,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/24059\/revisions\/41855"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/25835"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=24059"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=24059"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=24059"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}