Title: getting 403 error on
Last modified: August 3, 2022

---

# getting 403 error on

 *  Resolved [cjlim](https://wordpress.org/support/users/cjlim/)
 * (@cjlim)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/getting-403-error-on/)
 * I’m getting a 403 on
    `wp-content/plugins/akismet/_inc/akismet_frontend.js`
 * Looked at my .htaccess and i don’t see any rules blocking it.
 * Interestingly, `wp-content/plugins/akismet/_inc/akismet.js` is loading fine.
 * any idea?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgetting-403-error-on%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 15 total)

 *  Plugin Author [Christopher Finke](https://wordpress.org/support/users/cfinke/)
 * (@cfinke)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/getting-403-error-on/#post-15882997)
 * Can you check that your .htaccess file in the akismet directory got updated? 
   Line 15 should look like:
 * `<FilesMatch "^(form\.js|akismet\.js|akismet-frontend\.js|akismet\.css)$">`
    -  This reply was modified 3 years, 10 months ago by [Christopher Finke](https://wordpress.org/support/users/cfinke/).
 *  Thread Starter [cjlim](https://wordpress.org/support/users/cjlim/)
 * (@cjlim)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/getting-403-error-on/#post-15883104)
 * Yes, i do see this.
 *     ```
       <FilesMatch "^(form\.js|akismet\.js|akismet-frontend\.js|akismet\.css)$">
               <IfModule !mod_authz_core.c>
                       Allow from all
               </IfModule>
   
               <IfModule mod_authz_core.c>
                       Require all granted
               </IfModule>
       </FilesMatch>
       ```
   
 * But i’m using Bitnami, so I think they do not honor .htaccess files in plugins
   directory. after adding `akismet-frontend\.js` to the correct .htaccess file,
   it’s now working. thx
    i thi
 *  Plugin Author [Christopher Finke](https://wordpress.org/support/users/cfinke/)
 * (@cfinke)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/getting-403-error-on/#post-15883191)
 * Thanks for confirming; I’ll direct anyone else with this issue to try that as
   well.
 *  [gurhan](https://wordpress.org/support/users/gurhansahin/)
 * (@gurhansahin)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/getting-403-error-on/#post-15920323)
 * Hi cjlim;
    i use bitnami. how did you solve this problem? which .htaccess file
   did you change?
 *  Thread Starter [cjlim](https://wordpress.org/support/users/cjlim/)
 * (@cjlim)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/getting-403-error-on/#post-15920468)
 * [@gurhansahin](https://wordpress.org/support/users/gurhansahin/)
    I refer to 
   [bitnami documenation](https://docs.bitnami.com/general/infrastructure/lamp/administration/use-htaccess/#:~:text=htaccess%20file%20can%20be%20found%20at%20%2Fopt%2Fbitnami%2Fapps,htaccess.).
 * The .htaccess location for bitnami is
    `/opt/bitnami/apps/APPNAME/htdocs/.htaccess`
 * for wordpress, APPNAME is likely `wordpress`.
 * however, I noticed if I enabled `mod_pagespeed`, i’ll still get a 403 error. 
   not sure why and not sure how to configure for `mod_pagespeed`
 *  [gurhan](https://wordpress.org/support/users/gurhansahin/)
 * (@gurhansahin)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/getting-403-error-on/#post-15920755)
 * [@cjlim](https://wordpress.org/support/users/cjlim/)
    Thanks cjlim
 *  [nonasun](https://wordpress.org/support/users/nonasun/)
 * (@nonasun)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/getting-403-error-on/#post-15947412)
 * [@cjlim](https://wordpress.org/support/users/cjlim/) Does that mean the issue
   will be fixed after an update for Akismet soon? Or we need to manually fix the
   issue? Thanks!
 *  Thread Starter [cjlim](https://wordpress.org/support/users/cjlim/)
 * (@cjlim)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/getting-403-error-on/#post-15947477)
 * [@nonasun](https://wordpress.org/support/users/nonasun/)
    this has nothing to
   do with Akismet. it’s just the way bitnami is setup as far as htaccess config
   is concerned.
 * Bitnami has [documentation](https://docs.bitnami.com/general/infrastructure/lamp/administration/use-htaccess/#:~:text=htaccess%20file%20can%20be%20found%20at%20%2Fopt%2Fbitnami%2Fapps,htaccess.)
   around how htaccess should be configured.
 *  [nonasun](https://wordpress.org/support/users/nonasun/)
 * (@nonasun)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/getting-403-error-on/#post-15947495)
 * But this should be a new issue. Was it because of an Akismet update? Or other
   update?
 *  Thread Starter [cjlim](https://wordpress.org/support/users/cjlim/)
 * (@cjlim)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/getting-403-error-on/#post-15947506)
 * yes and no.
    yes: akismet did have an update where a new file (akismet-frontend.
   js) was introduced. prior, i think there’s only this file (akismet.js). and akismet
   did include this new file in the default htaccess file.
 * no: it really depends on how you setup bitnami htaccess. if you had setup pointing
   to the default akismet htaccess file, then you shouldn’t experience above issue(
   since the new file is automatically granted access).
 * But if you had copied and pasted the content in default htaccess file into bitnami’s
   htaccess file, then you will have 403 error with the new akismet plugin since
   the new file isn’t granted permission.
 *  [nonasun](https://wordpress.org/support/users/nonasun/)
 * (@nonasun)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/getting-403-error-on/#post-15947527)
 * I didn’t copy/paste anything. Under /site/wwwroot/wp-content/plugins/akismet/
   _inc, there’s only akismet.js, no akismet_frontend.js file.
 *  Thread Starter [cjlim](https://wordpress.org/support/users/cjlim/)
 * (@cjlim)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/getting-403-error-on/#post-15947748)
 * what version of akismet plugin are you using?
 *  [nonasun](https://wordpress.org/support/users/nonasun/)
 * (@nonasun)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/getting-403-error-on/#post-15951949)
 * Sorry, I looked at wrong website, which didn’t get update. For the website with
   issue and with latest Akismet, I can access /wp-content/plugins/akismet/_inc/
   akismet.js. But when I tried to access /wp-content/plugins/akismet/_inc/akismet_frontend.
   js, I got this error: “Forbidden You don’t have permission to access this resource.”
   So when we did site audit, we got error “Broken internal JavaScript and CSS. 
   HTTP Status Code 403”. Resource URL “[https://humidi-cure.com/wp-content/plugins/akismet/_inc/akismet-frontend.js?ver=1659481471&#8221](https://humidi-cure.com/wp-content/plugins/akismet/_inc/akismet-frontend.js?ver=1659481471&#8221);.
   
   Thank you!
 *  Thread Starter [cjlim](https://wordpress.org/support/users/cjlim/)
 * (@cjlim)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/getting-403-error-on/#post-15952129)
 * again, Bitnami has [documentation](https://docs.bitnami.com/general/infrastructure/lamp/administration/use-htaccess/#:~:text=htaccess%20file%20can%20be%20found%20at%20%2Fopt%2Fbitnami%2Fapps,htaccess.)
   around how htaccess should be configured.
 * follow the instructions there. if you are not familiar with these server stuff,
   maybe get your webmaster to help?
 *  [Duncan Brown](https://wordpress.org/support/users/iamduncanbrown/)
 * (@iamduncanbrown)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/getting-403-error-on/#post-16189025)
 * I’m not sure if this is a recent update but my .htaccess in Akismet has this;
 * `# This configuration has been moved to the /opt/bitnami/apache/conf/vhosts/htaccess/
   wordpress-htaccess.conf config file for performance and security reasons`
 * I had to add `akismet-frontend\.js` to the FilesMatch in `/opt/bitnami/apache/
   conf/vhosts/htaccess/wordpress-htaccess.conf` to fix the 403 error.

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘getting 403 error on’ is closed to new replies.

 * ![](https://ps.w.org/akismet/assets/icon-256x256.png?rev=2818463)
 * [Akismet Anti-spam: Spam Protection](https://wordpress.org/plugins/akismet/)
 * [Support Threads](https://wordpress.org/support/plugin/akismet/)
 * [Active Topics](https://wordpress.org/support/plugin/akismet/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/akismet/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/akismet/reviews/)

 * 15 replies
 * 5 participants
 * Last reply from: [Duncan Brown](https://wordpress.org/support/users/iamduncanbrown/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/getting-403-error-on/#post-16189025)
 * Status: resolved