How To Fix GoDaddy 403 Forbidden Error [Guide! 2024}

Seeing a 403 forbidden error?error-403-forbidden-message-on-a-website

It means your server is working, but you don’t have permission to access the web page due to the wrong permission or a corrupted .htaccess file.

These are the most common reasons. But in some cases, other reasons can be involved.

Like plugin conflicts, hotlink protection, IP blocking, etc.

Now let’s jump into solutions.

How To Fix 403 Error GoDaddy

Your subscription could not be saved. Please try again.
We have sent you VPS Gift to your inbox.

Get Free $100 VPS Credit 

1.Check the Case of Your Index File

Linux is a case-sensitive language.

If your index file (index.html, home.html, index.php, etc.) is not in the appropriate case, convert it to lowercase.

Here, we can help you recognize the index file as it varies.

For Plesk on Linux hosting, it can be like one of these:

Index.html
Index.htm
Index.cfm
Index.shtml
Index.shtm
Index.stm
Index.php
Index.php3
Index.asp
Index.aspx
Default.htm
Default.asp
Default.aspx

On cPanel, You can see something like that:

index.html.var
index.htm
index.html
index.shtml
index.xhtml
index.wml
index.perl
index.pl
index.plx
index.ppl
index.cgi
index.js
index.jp
index.php4
index.php3
index.php
index.phtml
default.htm
default.html
home.htm
index.php5
Default.html
Default.htm
home.html

index_phpIn WordPress, index.php is the index file that commands Wordpress to use the theme and load the WordPress environment and template. You can find it at Webroot.

2.Complete DNS Propagation

If you have purchased a new domain or GoDaddy web hosting plan, update DNS records like A records, CNAME records properly, etc., and wait for a few hours.Godaddy DNS

Generally, DNS propagation takes 10–12 hours to be completed, but sometimes it can last 24 hours.

Hotlink protection is a fantastic feature on the internet to protect your resources, like videos or images, from linking to other websites.hotlink protection

It saves your costly bandwidth, refrains from unintended server loads, and returns 403 errors.

Check carefully if some image or video is loading from someone’s server and getting 403 errors. It means these are hotlink protected.

So it’s better to host these on your server rather than linking. First of all, get the permission of the content owner. Then download and upload these to your server.

However, the issue does impact the whole site instead of some parts of some posts.

4.Unblock Your IP Address

There are many security plugins available to protect your WordPress site, and it is good to have it for protection from brute force, bot traffic, and XSS attacks.

It blocks spammers or bots’ IP addresses to save our web property.

But sometimes, it can block real human IP addresses owing to buggy malware signatures and throw 403 errors.

So you will need to add your IP address to their whitelist. They will take care of you next time.

If a popular Jetpack plugin has blocked you, the following instructions can help you:

(1)Login to WordPress.com

(2)Visit My Sites > Setting> Security > Whitelist

(3)Now enter your IP and save it.

(4)Don’t know your IP address? Google ‘what is my address’.

Another way to resolve it is by adding a code line to the config.php file.

define('JETPACK_IP_ADDRESS_OK', 'YOUR IP ADDRESS');

In the market, the Wordfence Security plugin is one of the big players and, most of the time, deploys 403 denied access for an actual human if we enable complete protection, as I have suffered on many client sites.

(1)Login to cPanel

(2)Access File Manager

(3)Go to the plugin folder and rename the Wordfence plugin name. It will deactivate it.

(4)Now, you can access your website.

(5)Install Wordfence Assistant and remove the Wordfence blocking IP list from your server.

(6)Now, you can activate Wordfence Security Plugin

(7)Navigate to Firewall>All Firewall Options

(8)Add your IP address to the plugin’s Allowlist.allowlist wordfence

5.Check Your CDN

Getting 403 errors on your CSS, images, JS or PHP, or anything served through CDN.
There is a high probability that your CDN is the culprit.

In this case, you should switch off the CDN to see how your website works.

Working fine?

Check your CDN plugin, update it and at last, you should query your CDN support team to resolve it.

6.Properly Set Permissions

There are many vital files like wp-config.php, .htaccess, plugins folder, etc., in WordPress that should not be accessible to the public.

On the other side, images, CSS & JS files of themes, plugins, etc., should be open to the public.

Then a website can run properly in the user’s browser.

In that case, permissions, a fantastic WordPress feature, play a significant role in setting up accessible or non-accessible permissions for any particular file or folder.

The feature also gives write and execute permission, denoted by a three-digit number.

However, WordPress setup standard permissions on installation. It is like that-

File – 644 or 640
Folder – 755 or 750
wp-config.php – 440 or 400

If the permission is messed up, it can cause 403 errors. To fix it, follow the instructions:

(1)Access file manager

(2)Select any file and right-click

(3)Choose file permissionchoose permission

(4)Set 644 or 640change permission

Repeat the steps for the folders and wp-config.php.

7.Create a Fresh .htaccess File

The.htaccess file is a basic configuration file used by Apache and LiteSpeed servers. The file stores browser caching rules for assets like images, CSS, js, etc. and redirects, which are essential for web and SEO performance.

But it is severely critical, as a simple error can pose a forbidden error. To resolve it, we need to invoke the new.htaccess file.

(1)Go to public_html

(2)download the .htaccess file and delete ithtaccess file

(3)Now WP-admin will be accessible; go to Settings > permalinks

(4)Click on Save Change.

It will create a new.htaccess file.

8.Find out Rogue Plugins

A problem plugin can reiterate the error. You can find out one easily by following the deactivate and test process.

A plugin becomes rogue due to poor coding, buggy updates, and conflicts with other plugins.

9.Check Theme Compatibility

Like plugins, themes can be problematic for the same reasons, and you can troubleshoot them.

FAQ

What could cause the 403 error Godaddy?

The most common reasons are wrong permission and corrupted .htaccess files. Others may be plugin conflicts, theme compatibility, CDN, or hotlink protection.

How do I fix the 403 error?

Fix permissions for WordPress files and directories, create a fresh .htaccess file, find rogue plugins, and avoid hotlink-protected content.

Have your issues been resolved? Please share, and do let me know in the comment box.

More Fixes:-

12 thoughts on “How To Fix GoDaddy 403 Forbidden Error [Guide! 2024}”

  1. this might sound dumb but what’s a CDN? and how do i check it? trying to fix my shop site cause it says 403 all the time and it’s driving me nuts. any advice would be super welcome!

    Reply
  2. The advice to check theme compatibility is on point. Spent hours debugging what was essentially a theme issue. Thanks for pointing out what should have been obvious. This should be mandatory reading for all web admins.

    Reply
  3. Properly set permissions, huh? Tell that to my boss who thinks every error is a personal attack from the internet. will try the .htaccess thing though, sounds promising.

    Reply
  4. Checked my CDN settings, turns out I had misconfigured my entire site. Glad I stumbled upon this guide. Ravi Kumar, you’re a lifesaver.

    Reply
  5. Creating a fresh .htaccess file worked like a charm! I was so lost before reading this. Thanks a million for the clear instructions, made my day! Also, the rogue plugin part was an eye-opener, didn’t realize those could cause such headaches.

    Reply
  6. okay but why do u need to unblock ur ip address? sounds fishy like why would it be blocked in the first place? got nothing to hide here. this whole things seems overcomplicated. should be easier right

    Reply
  7. Checking the case of my index file? I’d rather check the case of my cold beer next to my laptop. But seriously, did not realize that the file name case mattered. Web dev is more sensitive than my ex. No offense to anyone reading, it’s a joke! Web dev you’re doing great sweetie.

    Reply
  8. So I just need to wait for DNS to propagate? Great, I’ll just sit and stare at my screen. Brewing coffee in the meantime. Any faster solutions, Ravi Kumar, or is waiting the only tech-savvy advice here?

    Reply
  9. hey so im trying to get my site up but keep hitting this 403 thng? whats a .htaccess file, never heard of it, is it important? also dns propagation, is that like waiting for internet magic to happen or smth? gotta say ravi kumar, this tech stuff is wild, appreciate any help lol

    Reply
    • Hey, the .htaccess file is crucial for configuring your server permissions. DNS propagation can indeed take time – sort of like the internet catching up. Keep at it!

      Reply

Leave a Comment

//