• I just launched my first WordPress custom theme at MiracleSat.org and I’m encountering errors relating to the wp-includes folder. For some reason, WordPress is trying to link to …org/index.php/wp-includes/… and I’m getting 404s for jQuery and CSS requests of resources that are in /wp-includes/ as a result.

    Here is an example of one of the errors from Chrome Dev Tools:
    GET https://miraclesat.org/index.php/wp-includes/css/admin-bar.min.css?ver=3.8.1 404 (Not Found)

    These errors are preventing the Admin Bar CSS and jQuery from loading when I’m logged in. Plugins that use jQuery like my contact plugin are also not working.

    Any insight is greatly appreciated.

Viewing 1 replies (of 1 total)
  • Thread Starter caefavsvs

    (@awa4000)

    A little more info:

    These bad links to wp-includes resources are being generated in my html <head>. Here is an example:
    <script type="text/javascript" src="https://miraclesat.org/index.php/wp-includes/js/admin-bar.min.js?ver=3.8.1"></script>
    It’s the addition of the index.php part in these links, as if the index.php file was a folder, that is breaking the links. It seems like the problem is generated by the <?php wp_head(); ?> function. I’ve tried switching themes to twenty-twelve and the problem persists. I’ve also tried reinstalling with no change.
    I can edit the links in DevTools and everything instantly starts working. Have tried redirecting the wrong links to the correct ones with Redirection with no effect and no log of those links even being hit in the plugin logs.

Viewing 1 replies (of 1 total)
  • The topic ‘Wrong Links Preventing wp-includes Access’ is closed to new replies.