Title: CSS and JS 404
Last modified: June 18, 2022

---

# CSS and JS 404

 *  [adriantomanwd](https://wordpress.org/support/users/adriantomanwd/)
 * (@adriantomanwd)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/css-and-js-404/)
 * Hi Peter,
 * Thanks for all the effort you have gone to with the plugin! At Wild Dynasty we
   are using it on 2 of our WordPress sites, and Ashley and I love it.
 * We have the latest version of the plugin installed (11.3.1), but when we try 
   to view the settings we were getting some 404 errors for the following files:
 *     ```
       pp-admin-page.css
       jquery.cookie.js
       pp-admin-page.js
       ```
   
 * An example of the URL it was trying to load was:
 * `https://portal.wilddynasty.com/wp-content/plugins/bitnami/wordpress/wp-content/
   plugins/404page/inc/ppf/assets/css/pp-admin-page.css/?ver=5.9.3`
 * I did notice the path in the URL wasn’t correct and if I cut out the `/wp-content/
   plugins/bitnami/wordpress` bit it would load the CSS fine.
 * I hacked lines 515 – 519 in 404page/inc/ppf/ppf-admin.php to:
 *     ```
       .              wp_enqueue_style( $this->core()->get_plugin_slug() . '-ppf03', plugins_url( 'assets/css/pp-admin-page.css' , __FILE__ ) );      
   
       		wp_enqueue_script( $this->core()->get_plugin_slug() . '-ppf03-cookie', plugins_url( 'assets/js/jquery.cookie.js' , __FILE__ ) );
       		wp_enqueue_script( $this->core()->get_plugin_slug() . '-ppf03', plugins_url( 'assets/js/pp-admin-page.js' , __FILE__ ) );
   
       //      wp_enqueue_style( $this->core()->get_plugin_slug() . '-ppf03', $this->get_foundation_asset_url( 'css', 'pp-admin-page.css' ) );      
   
       //      wp_enqueue_script( $this->core()->get_plugin_slug() . '-ppf03-cookie', $this->get_foundation_asset_url( 'js', 'jquery.cookie.js' ), array( 'jquery' ), false, true );
       //      wp_enqueue_script( $this->core()->get_plugin_slug() . '-ppf03', $this->get_foundation_asset_url( 'js', 'pp-admin-page.js' ), array( 'jquery', $this->core()->get_plugin_slug() . '-ppf03-cookie' ), false, true );
       ```
   
 * Which resolved my issue, but I have a much stronger .NET dev background and haven’t
   had that much exposure to PHP/WordPress dev, so I want to alert you to the issue.
 * Thanks again,
 * Adrian

The topic ‘CSS and JS 404’ is closed to new replies.

 * ![](https://ps.w.org/404page/assets/icon-256x256.png?rev=3345344)
 * [Smart Custom 404 Error Page](https://wordpress.org/plugins/404page/)
 * [Support Threads](https://wordpress.org/support/plugin/404page/)
 * [Active Topics](https://wordpress.org/support/plugin/404page/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/404page/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/404page/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [adriantomanwd](https://wordpress.org/support/users/adriantomanwd/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/css-and-js-404/)
 * Status: not resolved