Fixing 403 Forbidden Error on Divi Booster's wp_footer.js File

Written by Dan Mossop

If you're unlucky you may find that some of Divi Booster's features, such as the social icons and the footer text, don't apply to your site as you would expect, or stop working when previously they did.

One possible reason for this is that something may be blocking the browser from accessing the JavaScript file generated by Divi Booster. The JavaScript file contains the code needed to make certain features works so, if the browser can't access it, these features won't be applied to your site.

The JavaScript file is located at:

https://www.YOURSITE.com/wp-content/uploads/wtfdivi/wp_footer.js

If you browse to this URL (replacing www.YOURSITE.com with your own domain name) you would normally expect to see a file containing JavaScript code. If something is blocking access to this file, you will instead get a 403 Forbidden error page with the message:

Forbidden

You don't have permission to access /wp-content/uploads/wtfdivi/wp_footer.js on this server.

Here are possible methods for resolving this error:

Method 1: Allow Access to the wp_footer.js File

One way to solve it is to figure out what is blocking access to the wp_footer.js file.

This isn't actually an error in Divi Booster. When Divi Booster is installed on a basic Divi / WordPress installation, the file will not be blocked.

However, some security plugins (e.g. WordFence) and server configurations may disallow access to JavaScript files within the /wp-content/uploads/ folder by default. While the details of how to do this will vary depending on what is applying this restriction on your site, the solution is to update the configuration to either allow access to either all JavaScript files from within /wp-content/uploads, or better yet to create a rule specifically allowing access to the /wp-content/uploads/wtfdivi/wp_footer.js file.

Once this is done, you should be able to browse to the wp_footer.js file URL and correctly access the JavaScript code. At this point, the Divi Booster features should be working correctly again.

Method 2: Enable Inline JavaScript

If for some reason you are unable to track down the cause of the blocked access, there is a way to bypass it from within Divi Booster. In the Divi Booster settings, you'll find the following option:

Developer Tools > Generated JS > Use inline JavaScript

Enable this option and save. Now Divi Booster will include the JavaScript code directly within your site's HTML pages, rather than loading it from the separate wp_footer.js file. This means the features should work, despite the blocked access to the wp_footer.js file.

We may earn a commission when you visit links on our website.

Resolve 403 Errors and Unlock Full Divi Booster Functionality

Tired of the 403 Forbidden error blocking Divi Booster's features? Discover effective solutions to ensure full functionality of social icons, footer text, and more by resolving JavaScript access issues.

Latest Posts

Set Custom CSS IDs for Individual Divi Accordion Items

Assigning unique CSS IDs to specific Divi Accordion items allows for precise control over styling, targeting, and linking within your page content. This ability is particularly useful when you want to apply custom designs or create anchor links to particular accordion...

Enable Swipe Navigation in the Divi Gallery Lightbox

Enabling swipe navigation in the Divi Gallery module's lightbox allows users to seamlessly browse through gallery images by swiping left or right, creating a more interactive and mobile-friendly experience. This functionality can significantly improve user engagement...

Disable Slide-In Animation for Divi Gallery Grid Images

Control how images appear in your Divi Gallery module by toggling the slide-in animation effect for grid layouts. Disabling the slide-in animation allows gallery images to load instantly and appear statically, providing a faster and distraction-free browsing...

Control Image Count Display in Divi Gallery Lightbox

Displaying or hiding the image count in the Divi Gallery module’s lightbox can help customize the user experience, depending on whether you want to give visitors an indication of gallery progress or prefer a cleaner, distraction-free view. The ability to toggle this...

Hide Gallery Image Titles in the Divi Lightbox Overlay

Displaying image titles in the lightbox overlay of the Divi Gallery module can sometimes be distracting or unnecessary, depending on your website’s design and user experience goals. Hiding these titles creates a cleaner and more focused viewing experience for visitors...

Random Posts

About Dan Mossop

Dan is a Scottish-born web developer, now living in Brisbane with his wife and son. He has been sharing tips and helping users with Divi since 2014. He created Divi Booster, the first Divi plugin, and continues to develop it along with 20+ other Divi plugins. Dan has a PhD in Computer Science, a background in web security and likes a lot of stuff, 

0 Comments

Submit a Comment

Comments are manually moderated and approved at the time they are answered. A preview is shown while pending but may disappear if your are cookies cleared - don't worry though, the comment is still in the queue.

Your email address will not be published. Required fields are marked *.