cd\u00a0\/var\/www\/html\/wordpress\/<\/pre>\nOnce 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
mv .htaccess .htaccess.backup<\/pre>\nNow, 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
mv .htaccess.backup .htaccess<\/pre>\nIf 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
# BEGIN WordPress
\n<IfModule mod_rewrite.c>
\nRewriteEngine On
\nRewriteBase \/
\nRewriteRule ^index\\.php$ – [L]
\nRewriteCond %{REQUEST_FILENAME} !-f
\nRewriteCond %{REQUEST_FILENAME} !-d
\nRewriteRule . \/index.php [L]
\n<\/IfModule>
\n# END WordPress<\/p>\n
<\/p>\n
Fixing the 403 Forbidden error in\u00a0<\/b>WordPress, is an easy task if you have a 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×7, so you can get the help you need at any time.<\/p>\n
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 – you can also leave a comment instead, found under the share buttons.<\/p>\n","protected":false},"excerpt":{"rendered":"
What is a 403 Forbidden Error? The\u00a0403 Forbidden error in WordPress, is an HTTP status code which appears when we … <\/p>\n
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],"yoast_head":"\nHow 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=\"How to Fix the 403 Forbidden Error in WordPress\" \/>\n<meta property=\"og: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 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\",\"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\":\"required name=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\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/09271207587f897ab46faaed9b355252?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/09271207587f897ab46faaed9b355252?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 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":"How to Fix the 403 Forbidden Error in WordPress","og_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.","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","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":"required name=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\/"]},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/09271207587f897ab46faaed9b355252?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/09271207587f897ab46faaed9b355252?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"}],"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}]}}