Title: plugin javascript file getting 404 error not found in nginx webserver
Last modified: September 1, 2016

---

# plugin javascript file getting 404 error not found in nginx webserver

 *  [tarlaneryawan](https://wordpress.org/support/users/tarlaneryawan/)
 * (@tarlaneryawan)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/plugin-javascript-file-getting-404-error-not-found-in-nginx-webserver/)
 * hey i was change my webserver to nginx and i follow generic setting in [https://codex.wordpress.org/Nginx](https://codex.wordpress.org/Nginx)
 * but after everyting was done, when i opened wp-admin/index.php i got many 404
   error in js file( i saw in chrome console tool), its becouse the source code 
   not route to the correct file..
 * >  GET [https://fonts.googleapis.com/css](https://fonts.googleapis.com/css) 400()
   > 
   > GET [http://www.example.com/wp-content/plugins/wordfence/js/tourTip.js](http://www.example.com/wp-content/plugins/wordfence/js/tourTip.js).
   > 404 (Not Found) GET [http://www.example.com/wp-content/plugins/wordfence/js/admin.ajaxWatcher.js](http://www.example.com/wp-content/plugins/wordfence/js/admin.ajaxWatcher.js).
   > 404 (Not Found) GET [http://www.example.com/wp-content/plugins/advanced-random-posts-widget/assets/js/jquery-cookie.js](http://www.example.com/wp-content/plugins/advanced-random-posts-widget/assets/js/jquery-cookie.js).
   > 404 (Not Found) GET [http://www.example.com/wp-content/plugins/wordpress-seo/js/dist/wp-seo-admin-global-340.min.js](http://www.example.com/wp-content/plugins/wordpress-seo/js/dist/wp-seo-admin-global-340.min.js).
   > 404 (Not Found) GET [http://www.example.com/wp-content/plugins/wordpress-seo/js/dist/select2/select2.min.js](http://www.example.com/wp-content/plugins/wordpress-seo/js/dist/select2/select2.min.js).
   > 404 (Not Found) GET [http://www.example.com/wp-content/plugins/wordpress-seo/js/dist/select2/i18n/id.js](http://www.example.com/wp-content/plugins/wordpress-seo/js/dist/select2/i18n/id.js).
   > 404 (Not Found) GET [http://www.example.com/wp-content/plugins/wordpress-seo/js/dist/wp-seo-admin-340.min.js](http://www.example.com/wp-content/plugins/wordpress-seo/js/dist/wp-seo-admin-340.min.js).
   > 404 (Not Found) GET [http://www.example.com/wp-content/plugins/wordpress-seo/js/dist/wp-seo-admin-media-320.min.js](http://www.example.com/wp-content/plugins/wordpress-seo/js/dist/wp-seo-admin-media-320.min.js).
   > 404 (Not Found)
 * its show dot (js.) after every js file in plugin and wp-included to..
 * how can i remove dot after js file in nginx, maybe some rewrite code to solve
   this problem.. thanks

Viewing 1 replies (of 1 total)

 *  [Tim Nash](https://wordpress.org/support/users/tnash/)
 * (@tnash)
 * Spam hunter
 * [9 years, 9 months ago](https://wordpress.org/support/topic/plugin-javascript-file-getting-404-error-not-found-in-nginx-webserver/#post-7665558)
 * What does the try_files section in your nginx server config look like?

Viewing 1 replies (of 1 total)

The topic ‘plugin javascript file getting 404 error not found in nginx webserver’
is closed to new replies.

## Tags

 * [nginx](https://wordpress.org/support/topic-tag/nginx/)
 * [pugin](https://wordpress.org/support/topic-tag/pugin/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Tim Nash](https://wordpress.org/support/users/tnash/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/plugin-javascript-file-getting-404-error-not-found-in-nginx-webserver/#post-7665558)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
