{"id":3361,"date":"2024-05-24T10:00:00","date_gmt":"2024-05-24T08:00:00","guid":{"rendered":"https:\/\/www.wpsupportdesk24.com\/?p=3361"},"modified":"2024-05-23T14:19:26","modified_gmt":"2024-05-23T12:19:26","slug":"how-do-you-fix-the-403-forbidden-error-message-on-wordpress","status":"publish","type":"post","link":"https:\/\/www.wpsupportdesk24.com\/en\/how-do-you-fix-the-403-forbidden-error-message-on-wordpress\/","title":{"rendered":"How do you fix the 403 Forbidden error message on WordPress?"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Leestijd:<\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">minuten<\/span><\/span>\n<p class=\"wp-block-paragraph\">The error message 403 Forbidden is a common problem that WordPress users may encounter. This problem means that access to a particular page on your website is blocked to the visitor trying to reach it. Fortunately, you can usually solve this problem yourself. The following is a guide to resolve the 403 Forbidden error on your WordPress website.  <\/p>\n\n<h2 class=\"wp-block-heading\">Check the file permissions<\/h2>\n\n<p class=\"wp-block-paragraph\">A common cause of a 403 Forbidden error is a problem with the file permissions on your server. Files and folders on your WordPress site should be set up correctly:<\/p>\n\n<ul class=\"wp-block-list\">\n<li>Files should generally have permissions 644.<\/li>\n\n\n\n<li>Folders should have permissions 755.<\/li>\n<\/ul>\n\n<p class=\"wp-block-paragraph\">You can modify these permissions through an FTP client (such as <strong>\n  <a href=\"https:\/\/filezilla-project.org\/\" target=\"_blank\" rel=\"noopener\">FileZilla<\/a>\n<\/strong>) or through the file manager in your hosting control panel:<\/p>\n\n<ol class=\"wp-block-list\">\n<li>Log in to your FTP server or cPanel.<\/li>\n\n\n\n<li>Navigate to the root directory of your WordPress site.<\/li>\n\n\n\n<li>Right-click on a file or folder.<\/li>\n\n\n\n<li>Choose &#8220;File Permissions&#8221; or &#8220;Change Permissions.<\/li>\n\n\n\n<li>Set the appropriate values and confirm.<\/li>\n<\/ol>\n\n<h2 class=\"wp-block-heading\">Check your .htaccess file<\/h2>\n\n<p class=\"wp-block-paragraph\">A corrupt or improperly configured .htaccess file can also lead to a 403 error. You can address this as follows:<\/p>\n\n<ol class=\"wp-block-list\">\n<li>Log in to your server via FTP or cPanel.<\/li>\n\n\n\n<li>Find the .htaccess file in the root of your WordPress installation.<\/li>\n\n\n\n<li>Back up the file by downloading it to your computer.<\/li>\n\n\n\n<li>Delete the .htaccess file from the server.<\/li>\n\n\n\n<li>Go to your WordPress dashboard, navigate to Settings &gt; Permalinks and click Save Changes. WordPress will now generate a new .htaccess file.<\/li>\n\n\n\n<li>Verify that the error is resolved.<\/li>\n<\/ol>\n\n<h2 class=\"wp-block-heading\">Deactivate plug-ins and themes<\/h2>\n\n<p class=\"wp-block-paragraph\">Sometimes the error is caused by a specific plug-in or theme:<\/p>\n\n<ol class=\"wp-block-list\">\n<li>Deactivate all plug-ins through the WordPress dashboard. If you cannot log in, rename the plug-in folder via FTP or cPanel (for example, from &#8216;plugins&#8217; to &#8216;plugins_off&#8217;).<\/li>\n\n\n\n<li>Check if the problem still exists. When it&#8217;s fixed, activate your plug-ins one by one to find the culprit.<\/li>\n\n\n\n<li>Do a similar test with your theme by switching back to a standard WordPress theme such as Twenty Twenty-One.<\/li>\n<\/ol>\n\n<h2 class=\"wp-block-heading\">Contact your hosting provider<\/h2>\n\n<p class=\"wp-block-paragraph\">If none of the above steps work, the problem may be rooted deeper or have to do with server configurations you don&#8217;t have access to. In that case, it is wise to contact your hosting provider&#8217;s support. They can dig deeper into the server logs and perhaps identify the specific cause of the error.<\/p>\n\n<p class=\"wp-block-paragraph\">Still have questions or can&#8217;t figure it out? Then please <strong><a href=\"https:\/\/www.wpsupportdesk24.com\/en\/contact\/\" data-type=\"page\" data-id=\"2340\">contact us<\/a><\/strong>.<\/p>\n\n<p class=\"wp-block-paragraph\">Receive more tip? Then subscribe to our <strong><a href=\"#nieuwsbrief\">newsletter<\/a><\/strong>. <\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Leestijd:<\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">minuten<\/span><\/span>The error message 403 Forbidden is a common problem that WordPress users may encounter. This problem means that access to a particular page on your website is blocked to the visitor trying to reach it. Fortunately, you can usually solve this problem yourself. The following is a guide to resolve the 403 Forbidden error on [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3360,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_mo_disable_npp":"","ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"on","ocean_gallery_id":[],"footnotes":""},"categories":[28],"tags":[],"class_list":["post-3361","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","entry","has-media","owp-thumbs-layout-horizontal","owp-btn-normal","owp-tabs-layout-horizontal","has-no-thumbnails","has-product-nav"],"_links":{"self":[{"href":"https:\/\/www.wpsupportdesk24.com\/en\/wp-json\/wp\/v2\/posts\/3361","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wpsupportdesk24.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wpsupportdesk24.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wpsupportdesk24.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wpsupportdesk24.com\/en\/wp-json\/wp\/v2\/comments?post=3361"}],"version-history":[{"count":3,"href":"https:\/\/www.wpsupportdesk24.com\/en\/wp-json\/wp\/v2\/posts\/3361\/revisions"}],"predecessor-version":[{"id":3364,"href":"https:\/\/www.wpsupportdesk24.com\/en\/wp-json\/wp\/v2\/posts\/3361\/revisions\/3364"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wpsupportdesk24.com\/en\/wp-json\/wp\/v2\/media\/3360"}],"wp:attachment":[{"href":"https:\/\/www.wpsupportdesk24.com\/en\/wp-json\/wp\/v2\/media?parent=3361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wpsupportdesk24.com\/en\/wp-json\/wp\/v2\/categories?post=3361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wpsupportdesk24.com\/en\/wp-json\/wp\/v2\/tags?post=3361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}