Website Pricing Guide

Enter your email to get instant access to our website pricing guide.

How to Fix WordPress 403 Forbidden Error

October 12, 2023 by
Trespassing is illegal. But, if you’re encountering the 403 Forbidden error, you’re probably not trying to break into some sort of a top-secret black site. The 403 Forbidden error typically occurs when you’re trying to log in to WordPress or visit a specific page, but can’t. This can be incredibly frustrating. Fortunately, there are a […]


Trespassing is illegal. But, if you’re encountering the 403 Forbidden error, you’re probably not trying to break into some sort of a top-secret black site.

The 403 Forbidden error typically occurs when you’re trying to log in to WordPress or visit a specific page, but can’t. This can be incredibly frustrating.

Fortunately, there are a few simple fixes for this common WordPress error. Depending on your hosting plan, you may even be able to resolve the issue with help from your web host.

In this post, we’ll take a closer look at the 403 Forbidden error and its main causes. We’ll then show you 11 ways to fix it.

Get Content Delivered Straight to Your Inbox

Subscribe now to receive all the latest updates, delivered directly to your inbox.

What Is The 403 Forbidden Error?

The 403 Forbidden error means that your server thinks you do not have the required permission to access that particular page. This is usually caused by an issue with file permissions, but could be caused by another problem related to hosting or authentication.

The 403 Forbidden error typically appears when you’re trying to log in to your WordPress admin area or when visiting a specific page on your site. You may also encounter it while installing WordPress.

It’s one of several HTTP status codes used by servers to communicate with your browser.

The error is usually accompanied by one of the following messages (or similar variations):

  • “HTTP 403 Forbidden – Access to this resource on the server is denied.”
  • “HTTP Error 403 – Forbidden.”
  • “Forbidden – You don’t have permission to access [directory name] on this server.”
  • “You are not authorized to view this page.”
  • “It appears you don’t have permission to access this page.”
  • “403. That’s an error. Your client does not have permission to get URL [address] from this server.”

Instead of the “403 Forbidden” status, you might come across a simple notification that says “Access Denied.” It is also possible that you will get the following message: “Access to [domain name] was denied. You don’t have authorization to view this page.”

What Causes The 403 Forbidden Error?

There are several possible causes of the 403 Forbidden error code but the most likely one is an incorrect file permission on your server.

DreamHost Glossary

File Permissions

File permissions are rules that govern which user roles can carry out which interactions with specific files and directories within a filing system, network, or device.

Read More

This means that one or more files the browser is trying to access are not accessible because of their permissions.

Permissions directives determine who can view and modify the files on your website and your web server. They protect your files from outside tampering. But, in some cases, if misconfigured, they can prevent your site from working correctly.

However, this error can also be triggered by a faulty plugin or a corrupt .htaccess file.

DreamHost Glossary

.htaccess

’.htaccess’ is a configuration file used by the Apache web server software. The .htaccess file contains directives (instructions) that tell Apache how to behave for a particular website or directory.

Read More

In most cases, you should be able to resolve the issue on your own. However, you might also need to get in touch with your hosting provider to access or change some settings on your site.

11 Ways To Fix The 403 Forbidden Error In WordPress

Now, let’s go through a few ways you can fix the 403 Forbidden error.

First, we recommend that you make a backup of your site just in case something goes wrong and you need to restore it to an earlier version.

We’ll explore some common causes and how to fix the problem:

  1. Check the URL
  2. Perform a Hard) Refresh
  3. Clear Browser Cache
  4. Disconnect from VPN
  5. Check Index Page
  6. Change Your File Permissions
  7. Deactivate Your Plugins
  8. Delete and Restore the .htaccess File
  9. Deactivate Your CDN
  10. Check Hotlink Protection
  11. Contact Your Web Host

1. Check The URL And (Hard) Refresh

Before we delve deeper, let’s make an assumption – you’re operating on a private Wi-Fi network. It’s important to note that public networks often have different firewall rules that may prevent you from accessing your website.

With our Wi-Fi network disclaimers out of the way, let’s really begin.

First, double-check the URL that you’re typing into your web browser and make sure that it’s pointing to the correct website and web page.

Sometimes, a small mistype in the web address can trigger an error, or a broken link on your website could have sent you to a page that doesn’t exist, triggering the 403 error.

If the URL looks correct and there are no problems with its structure, format, or spelling, then we’ll move onto refreshing the page.

2. Perform A (Hard) Refresh

Next, try refreshing the page.

In most browsers like Google Chrome, you can do this by simply clicking on the address bar to highlight the address. Then press “Enter.”

If refreshing doesn’t help, then let’s try a “Hard” refresh.

This is a simple trick that clears your browser’s cache for the specific page you’re trying to access. This forces the browser to download the latest version of the page and might fix the issue.

DreamHost Glossary

Cache

A cache is a temporary data storage layer that is designed to improve data access speeds by reducing the time needed to read and write data from a permanent data storage location.

Read More

To perform a hard refresh in Google Chrome: Open the page and press Cmd + Shift + R.

The page should refresh and you can see if this solved the problem.

If not, then let’s take it to the next step.

3. Clear Browser Cache

Website errors are either caused by server-side problems (issues with the website, server, or configuration) or client-side problems (issues with the browser or user’s device, settings, etc).

Your browser cache is one client-side problem that can cause many unexpected issues.

Luckily it’s easy to fix. You just clear the cache to force your browser to fully fetch content from the pages you’re trying to visit.

Follow these instructions to clear your browser’s cache.

Nerd note: If this doesn’t work and you really want to be sure it’s not a caching issue, you can try flushing your DNS cache, too. Just to be safe.

4. Disconnect From VPN

VPNs (Virtual Private Networks) are great for masking your location and protecting your privacy online. Because they route your internet activity through somewhere other than your actual location, they also change your IP address.

This is good for privacy, but it can create access and permissions issues on certain websites.

If you’re using a VPN, try disabling it and then repeating the above steps.

5. Check Index Page

Now we’re going to dig in a bit further and start diagnosing potential problems with your website files, permissions settings, and other problems that may give rise to the 403 error.

Most websites, including WordPress sites, expect your homepage to have a specific file name by default.

Unless otherwise specified, the site will look for a file named something like:

If the page is missing, you’ll likely have issues.

Before we start adjusting file permissions, let’s just make sure that your homepage file is intact and correctly named.

To do this, you’ll need to take one to two steps:

  1. Connect to your site with a Secure File Transfer Protocol (S/FTP) client, such as FileZilla
  2. Access your site through the file manager in your hosting account

If you have a DreamHost account, this guide from our knowledge base will walk you through accessing and utilizing the built-in file manager.

Whether you access your files through S/FTP or a file manager, you need to look for your “index” file.

Inside your root directory, you’ll likely find a folder called something like “myexamplesite.com” (If you’re a DreamPress user, the folder will be called “{YOURSITE}.dream.press”.)

This is the main folder that contains all of your website’s files.

Open it and look for a file called either “index.html” or “index.php”.

If you’re using WordPress, then you may need to take a few extra steps. Navigate to wp-content > themes > {YOUR THEME}. The index file for your specific site theme should live in this folder.

If you find an index.php or index.html file, then this is unlikely to be causing your 403 error.

If you can’t find an index file, then this could be the issue that’s generating the 403 error.

Start by creating and uploading a blank “index.html” or “index.php” file into the relevant folder.

Then go try your website again, performing a hard refresh.

You probably won’t see your website, but if you see a blank screen rather than the 403 error, then it’s likely that you’ve found the problem.

At this point, you’ll probably want to try contacting your web host for help. Alternatively, roll back your website to a previous backup version before the problem occurred.

If you’re using WordPress, you could consider installing WordPress again. (This will wipe out your settings, themes, and plugins, but it shouldn’t impact the content and files you’ve added to your database.)

6. Change Your File Permissions

Every WordPress file on your site’s server has its own access permissions. These settings control who can access and modify its contents. If these files have incorrect permissions, your server will stop you from accessing them.

As we covered in the last section, you can access your website either through S/FTP client or a file manager app. Once you do so, you’ll need to find your “public_html” folder or whichever folder contains all of your website files in the directory browsing window.

Then, right-click on it and choose File Attributes.

Public File, File Attributes

In the popup window, locate the Numeric field and enter “755” or “750” in the value box. Then select the “Recurse into subdirectories” and “Apply to directories only” options, and click on “OK.”

File Attributes, Apply To Directories Only

So far, you’ve applied the correct folder permissions just for your directories. You’ll now do the same thing for your files.

To start, right-click on your public_html folder and select File Attributes. This time, you’ll need to type “644” in the Numeric value field. Then choose Recurse into subdirectories, select Apply to files only, and click on OK.

File Attributes, Apply To Files Only

Nerd note: Your wp-config.php file requires a different numeric value than the ones stated here. This unique value prevents other users on your servers from accessing the file. Therefore, you’ll need to change its file permission manually.

In your root directory, find the wp-config.php file, right-click, and select File permissions. Next, set the numeric value to “440”, and click OK.

File Permissions, Numeric Value

Now, every one of your WordPress files and folders should have the correct permissions. Once you’ve completed the above steps, go back to your site and try to reproduce the 403 Forbidden error. If your site works fine, you don’t need to do anything else.

However, don’t worry if you’re still facing the same problem. There are still a few more fixes to try.

7. Deactivate Your WordPress Plugins

As we mentioned earlier, the 403 Forbidden error can also be caused by a faulty plugin. To determine if this is the case, you’ll need to deactivate your plugins and then reactivate them individually.

To start, connect to your site via FileZilla or the file manager in your hosting account. Then, open the wp-content folder in your site’s root directory and locate the plugins folder. Right-click on the plugins folder and select Rename.

Rename Plugins

Next, give the folder a new name, for example, “plugins_test”. This will automatically deactivate all of your plugins.

If you can access your site after renaming the folder, then the 403 Forbidden error was caused by a glitchy plugin. Your next step is to find out which one it is.

First, return to your site’s root directory and rename the plugins folder back to “plugins”. Then, navigate to the Plugins page in your WordPress dashboard and activate the plugins one at a time. Keep doing this until you are able to reproduce the error.

Once you’ve identified the faulty plugin, you can either remove it or contact its developer for support.

8. Delete And Restore The .htaccess File

A corrupt or misconfigured .htaccess file can also trigger the 403 Forbidden error. This file is located in your site’s root directory and enables WordPress to interact with your server.

.htaccess is a file used on Apache web servers. It contains rules and directives about your website. If it becomes corrupted or misconfigured, it can create problems like the 403 error (among other things).

How do you fix it?

Inside your site’s root directory, locate the .htaccess file, right-click on it, and choose Delete.

Delete .Htaccess

Now, try accessing your site again. If the 403 Forbidden error has disappeared, then your .htaccess file may have been corrupted. This means you’ll need to create a new one.

To do this, navigate to Settings in your WordPress dashboard and select Permalinks. Then click on the Save Changes button at the bottom of the page, and a new .htaccess file will be generated. You can look for the file in your site’s directory to ensure that it has been restored.

9. Deactivate Your CDN

If you’re still getting the 403 Forbidden error after completing the above steps, you may have a problem with your Content Delivery Network (CDN). This is a network of servers located in different parts of the world, with each server hosting a copy of your website. Many hosting plans come with a CDN to help boost your site’s performance.

DreamHost Glossary

CDN

CDN is an abbreviation for “Content Delivery Network”. It refers to a geographically-distributed network of web servers (and their data centers). The entities that make up a CDN collaborate to ensure speedy content delivery via the internet.

Read More

To see if your CDN is the cause of the error, you’ll need to temporarily disable it. You can do this by logging into your hosting account and locating your CDN settings. If you’re unable to access your CDN, we recommend getting in touch with your hosting provider.

10. Check Your Hotlink Protection

Finally, you might want to check your site’s hotlink protection.

Hotlinking is when someone embeds media files on their site by linking them directly from another site. Some individuals may do this to use another site owner’s bandwidth (rather than their own), which is effectively theft.

Some hosts and CDN providers offer hotlink protection.

However, if this is not set up properly, it can trigger a 403 Forbidden error on your site.

Therefore, you may want to contact your web host about this issue. While you may want to look into this yourself, it’s best to get help from a technical expert to ensure that your hotlink protection is configured correctly.

11. Contact Your Web Host

If all else fails, ask for help.

Your website hosting company’s support team should be able to provide additional steps and ideas for troubleshooting this issue.

In some cases, it could be triggered by a server configuration problem, changes to the DNS, or even malware or other website attacks.

Additional WordPress Resources

If you’re new to WordPress, you’re bound to run into some technical issues while setting up your site. To help you fix some of the most common WordPress errors, we’ve put together several how-to guides:

Meanwhile, if you’re looking for more WordPress tips and hacks, check out our WordPress Tutorials. This collection of guides will help you set up and design your first WordPress site like a professional.

Get Content Delivered Straight to Your Inbox

Subscribe now to receive all the latest updates, delivered directly to your inbox.

Luke is the Director of IT Operations. He is responsible for the teams that keep operations running smoothly… In his free time, he enjoys reading fantasy/sci-fi and hanging out with his wife and 4 kids. Connect with Luke on LinkedIn: https://www.linkedin.com/in/luke-odom-039986a/

Your Dream Website Is Just One Click Away

At Ericks Webs Design, we believe every business deserves a stunning online presence — without the stress. We offer flexible payment options, a friendly team that truly cares, and expert support every step of the way.

Whether you’re a small business owner, a church, or a growing brand, we’re here to bring your vision to life.

✨ Let’s build something amazing together.

— no pressure, just possibilities.

Latest News & Website Design Tips

Stay up-to-date with the latest insights, trends, and tips in business website design. Explore our newest articles to discover strategies that can help you elevate your online presence and grow your business.

Show Off Your Best Work Online: How a Website Becomes Your Digital Portfolio

Show Off Your Best Work Online: How a Website Becomes Your Digital Portfolio

In today’s competitive construction market, establishing an online presence is crucial for attracting clients. Many skilled professionals risk losing valuable opportunities due to the absence of a digital portfolio, making them virtually invisible to potential customers searching online. A custom website not only showcases your best projects through compelling imagery but also fosters client trust and simplifies the communication process through easy quote requests. By optimizing for search engines, you can ensure your business appears in relevant searches, driving leads directly to you. Partnering with experts who understand the unique needs of local contractors can significantly elevate your visibility and credibility, setting you apart from competitors.

Key Features Every Dentist Website Should Include

Key Features Every Dentist Website Should Include

Every dentist website should include essential features to attract and retain patients effectively. Key components include a modern, user-friendly design for a strong first impression, mobile optimization for accessibility, and a clear outline of services offered. Easy-to-find contact information and an educational blog enhance patient engagement, while testimonials build trust. Incorporating online booking simplifies appointment scheduling, and an ‘About Us’ section personalizes the practice. For diverse communities, bilingual content is crucial. Lastly, ensure compliance with privacy laws and secure communication. A well-designed dentist website is vital for establishing a successful online presence and growing your practice.

5 Ways a Website Brings You More Construction Leads Every Month

5 Ways a Website Brings You More Construction Leads Every Month

In today’s competitive construction market, a professional website is essential for attracting new leads. It acts as your digital storefront, showcasing past projects and customer testimonials that build trust with potential clients. Optimizing your site for local searches can help you appear on Google Maps, making it easier for customers in your area to find you. Incorporating simple quote requests and compelling calls to action enhances user experience and encourages engagement. Furthermore, establishing a strong local brand identity through community involvement and customer feedback sets you apart from competitors, making your business more relatable and trustworthy. A well-crafted website not only enhances visibility but is a crucial tool for sustained growth.

How to Tell Your Business Story on Your Website

How to Tell Your Business Story on Your Website

The article “How to Tell Your Business Story on Your Website” emphasizes the importance of effectively sharing your business story online, particularly for small businesses in South Texas. It highlights that a compelling narrative embodies your values and connects emotionally with customers. Key steps include identifying core values, knowing your target audience, crafting a relatable narrative, incorporating visual elements, and concluding with a strong call to action. By doing so, businesses can engage visitors and establish trust. Ericks Web Design encourages business owners to polish their narratives and enhance their online presence to create meaningful connections with their audience.

The #1 Reason Construction Businesses Are Missing Out on Thousands in Contracts

The #1 Reason Construction Businesses Are Missing Out on Thousands in Contracts

Many construction businesses struggle to secure contracts simply because they lack a strong online presence. Prospective clients increasingly rely on searching for services online, and without an accessible, professional website, businesses can fall off their radar. A custom website not only showcases completed projects but also establishes credibility, making it easier for potential clients to connect. With effective SEO strategies, contractors can improve their visibility in local searches, ensuring they don’t miss out on valuable opportunities. In today’s digital age, investing in a robust online platform is essential for staying competitive and connected to clients who need their services.

What to Write on Your About Page (With Examples)

What to Write on Your About Page (With Examples)

The article “What to Write on Your About Page (With Examples)” emphasizes the importance of an effective About page for small businesses, especially in McAllen, Texas. It highlights key elements to include: an introduction of yourself and your team, sharing your mission and values, telling your story, showcasing your expertise, and including testimonials. This page should create a personal connection with potential customers, building trust and credibility. By sharing your journey and demonstrating your commitment to quality service, you can enhance your online presence and attract loyal clients. An engaging About page is crucial for transforming visitors into customers, helping your business thrive.

Why Your Word-of-Mouth Strategy Is Failing — And How a Website Fixes It

Why Your Word-of-Mouth Strategy Is Failing — And How a Website Fixes It

Many contractors in South Texas rely too heavily on word-of-mouth for business, which limits their reach and customer engagement. While personal referrals are valuable, the increasing competition and digital shift mean that a lack of online visibility can cost potential clients. A well-designed website serves as a crucial marketing tool, showcasing work, capturing leads, and optimizing search engine rankings. This digital presence not only enhances brand identity but also facilitates local discovery, ensuring contractors can connect with clients actively searching for services. Embracing a website can revolutionize client interactions and ultimately drive business growth.

Why Dental Clinics Need a Website That Smiles Back

Why Dental Clinics Need a Website That Smiles Back

The article “Why Dental Clinics Need a Website That Smiles Back” emphasizes the importance of having a strong online presence for dental practices. It highlights that 77% of patients conduct online research before booking appointments, making a user-friendly website essential. A well-designed site acts as a digital business card, showcasing the clinic’s personality and inviting atmosphere. Key features like easy contact forms and scheduling tools enhance user experience. While investing in a website may seem daunting, it ultimately saves time and attracts new patients. The article encourages dental clinics to create websites that reflect their warm, welcoming vibe and invite potential patients to engage.

No Trust: Why Homeowners Skip Over Construction Companies Without a Website

No Trust: Why Homeowners Skip Over Construction Companies Without a Website

The article “No Trust: Why Homeowners Skip Over Construction Companies Without a Website” emphasizes the critical need for construction companies, particularly in South Texas, to establish an online presence. Homeowners increasingly rely on Google for finding contractors, and without a website, businesses risk losing potential clients to competitors. Common challenges include disappearing leads, poor online visibility, and over-reliance on referrals. A custom website can address these issues by showcasing projects, building trust with professional designs, and streamlining contact processes. Ultimately, having a website is essential for attracting clients and enhancing a construction company’s credibility in today’s digital landscape.

How to Build Trust for Online Shoppers

How to Build Trust for Online Shoppers

The article “How to Build Trust for Online Shoppers” highlights essential strategies for small business owners in South Texas to foster trust among potential customers. Trust is critical in online shopping, as consumers often rely on online reviews, quality images, and secure payment options to make decisions. Key tips include showcasing authentic customer reviews, using high-quality product images and descriptions, ensuring secure payment methods, communicating transparent policies, and engaging with customers on social media. By implementing these tactics, businesses can enhance their credibility and build lasting customer relationships, ultimately driving sales and improving their online presence.