Title: fgerneth's Replies | WordPress.org

---

# fgerneth

  [  ](https://wordpress.org/support/users/fgerneth/)

 *   [Profile](https://wordpress.org/support/users/fgerneth/)
 *   [Topics Started](https://wordpress.org/support/users/fgerneth/topics/)
 *   [Replies Created](https://wordpress.org/support/users/fgerneth/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/fgerneth/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/fgerneth/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/fgerneth/engagements/)
 *   [Favorites](https://wordpress.org/support/users/fgerneth/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Kadence Security – Password, Two Factor Authentication, and Brute Force Protection] Wrong URI to icon-fonts.css](https://wordpress.org/support/topic/wrong-uri-to-icon-fontscss/)
 *  Thread Starter [fgerneth](https://wordpress.org/support/users/fgerneth/)
 * (@fgerneth)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/wrong-uri-to-icon-fontscss/#post-5118912)
 * Hi Chris,
 * please let me know if you have received my email. Had some troubles sending it.
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Kadence Security – Password, Two Factor Authentication, and Brute Force Protection] Wrong URI to icon-fonts.css](https://wordpress.org/support/topic/wrong-uri-to-icon-fontscss/)
 *  Thread Starter [fgerneth](https://wordpress.org/support/users/fgerneth/)
 * (@fgerneth)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/wrong-uri-to-icon-fontscss/#post-5118859)
 * Hi Chris,
 * let me provide some more debug information for you.
 * In the wp-config.php we have defined these additional constants regarding the
   plugin directory:
 *     ```
       define('WP_PLUGIN_DIR', ABSPATH . 'modules');
       define('WP_PLUGIN_URL', 'http://domain.dev/modules');
       define('PLUGINDIR', 'modules');
       ```
   
 * Using a debugger, the value of the variables in a certain line of the `init.php`
   file are:
 *     ```
       Line 15: $content_dir: {wordpress_root}/assets
       Line 16: $dir: {wordpress_root}/modules/better-wp-security/lib/icon-fonts
       Line 21: $url: http://domain.dev/{site_path}/modules/better-wp-security/lib/icon-fonts
       Line 37: $url: https://domain.dev/{site_path}/modules/better-wp-security/lib/icon-fonts
       ```
   
 * Apparently, the path to the modules (former plugins) directory, should not contain
   the {site_path} sub-directory in the URL.
 * If you need any further information, I’ll do my best to provide these as well.
   Unfortunately, I can’t provide access to the site directly.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Kadence Security – Password, Two Factor Authentication, and Brute Force Protection] Wrong URI to icon-fonts.css](https://wordpress.org/support/topic/wrong-uri-to-icon-fontscss/)
 *  Thread Starter [fgerneth](https://wordpress.org/support/users/fgerneth/)
 * (@fgerneth)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/wrong-uri-to-icon-fontscss/#post-5118855)
 * Hi Chris,
 * yes they are both set:
 *     ```
       define('WP_CONTENT_DIR', ABSPATH . 'assets');
       define('WP_CONTENT_URL', 'http://domain.dev/assets');
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Kadence Security – Password, Two Factor Authentication, and Brute Force Protection] Internal 404 – Plugin Path](https://wordpress.org/support/topic/internal-404-plugin-path/)
 *  [fgerneth](https://wordpress.org/support/users/fgerneth/)
 * (@fgerneth)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/internal-404-plugin-path/#post-5095582)
 * Having the same issue on Windows as described and analyzed by Jeff-Lewis, there
   is an easy temporary fix until this is fixed by IThemes: replace the Windows 
   Path Separators by the Linux ones. Luckily for us changes are only required in
   two places:
 * – core/class-itsec-core.php:82 : Replace with `'plugin_dir' => str_replace('\\','/',
   plugin_dir_path( $plugin_file )), //the path of the plugin directory`
    – core/
   class-itsec-global-settings:388 : Replace with `$path = str_replace( $itsec_globals['
   plugin_dir'], '', str_replace('\\', '/', dirname( $file )) );`

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