Title: JavaScript broken after pages crawling
Last modified: January 13, 2021

---

# JavaScript broken after pages crawling

 *  Resolved [rewollof](https://wordpress.org/support/users/rewollof/)
 * (@rewollof)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/javascript-broken-after-pages-crawling/)
 * Hi.
    I’ve got an issue: few hundreds errors after crawling via ahrefs.com: _403
   Forbidden /resources/wp-content/cache/jch-optimize/js/489653b9edb3febc4d926551171d2feb.
   js 403 Forbidden /resources/wp-content/cache/jch-optimize/js/861b5cd29b412de4f13b28acfc7fd6ac.
   js 403 Forbidden /resources/wp-content/cache/jch-optimize/js/f2f9aa3e8edb76cea47b9c5d63c5eeb8.
   js …  Is there any solution how to solve it?

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

 *  Plugin Author [codealfa](https://wordpress.org/support/users/codealfa/)
 * (@codealfa)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/javascript-broken-after-pages-crawling/#post-13916551)
 * The most likely reason is that you have some security plugin or application on
   your server that is restricting access to files from that location. Please revise
   your security configurations and allow access to /resources/wp-content/cache/
   jchoptimize/ from the Internet.
 *  Thread Starter [rewollof](https://wordpress.org/support/users/rewollof/)
 * (@rewollof)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/javascript-broken-after-pages-crawling/#post-13916634)
 * Yes, I use wordfence
 *  Thread Starter [rewollof](https://wordpress.org/support/users/rewollof/)
 * (@rewollof)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/javascript-broken-after-pages-crawling/#post-13931860)
 * I’ve disabled wordfence but still get same issue. Any ideas?
 *  Plugin Author [codealfa](https://wordpress.org/support/users/codealfa/)
 * (@codealfa)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/javascript-broken-after-pages-crawling/#post-13960111)
 * Check your .htaccess files for any configurations that may be causing this. Just
   disabling the plugin wouldn’t necessarily remove these directives. I’d recommend
   contacting the support for the security plugin or your hosting provider for more
   assistance.
 *  Thread Starter [rewollof](https://wordpress.org/support/users/rewollof/)
 * (@rewollof)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/javascript-broken-after-pages-crawling/#post-13960383)
 * There is IIS in my case. The issue has been solved by improving of cache lifetime
   to 12 hours at “Combine CSS and javascript files” tab. No 403 errors anymore
 *  Plugin Author [codealfa](https://wordpress.org/support/users/codealfa/)
 * (@codealfa)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/javascript-broken-after-pages-crawling/#post-13981003)
 * Ok Good to know.
 * Best regards.

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

The topic ‘JavaScript broken after pages crawling’ is closed to new replies.

 * ![](https://ps.w.org/jch-optimize/assets/icon-128x128.png?rev=1135491)
 * [JCH Optimize](https://wordpress.org/plugins/jch-optimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jch-optimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jch-optimize/)
 * [Active Topics](https://wordpress.org/support/plugin/jch-optimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jch-optimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jch-optimize/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [codealfa](https://wordpress.org/support/users/codealfa/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/javascript-broken-after-pages-crawling/#post-13981003)
 * Status: resolved