• I use wordpress 3.6 network with two sub-sites. I have a 404 error in my console saying it can’t find the min.map js file location. the problem is that this path is generated automatically by wordpress, I believe from the enqueue for jquery. But the path it generates is wrong. I get:

    http://www.mydomain.com/networkChildSiteName/wp-includes/js/jquery/jquery-1.10.2.min.map

    which is obviesly wrong since there is not folder named networkChildSiteName and all the JS are under a root js folder in the theme. so the path to the file should actually be:

    http://www.mydomain.com/wp-includes/themeName/js/jquery/jquery-1.10.2.min.map

    How can i change this path when it is auto generated behind the scene’s?
    Thank you for your help

Viewing 1 replies (of 1 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    This is not incorrect: mydomain.com/networkChildSiteName/wp-includes/js/jquery/jquery-1.10.2.min.map

    Your folder networkChildSiteName is virtual. The .htaccess takes care of it, the same way it does for when you visit mydomain.com/networkChildSiteName – All links are relative to your site.

    This, however, is wrong: mydomain.com/wp-includes/themeName/js/jquery/jquery-1.10.2.min.map

    The theme name should not be in there. If that’s where your theme put a file, it’s broken.

    Check if mydomain.com/wp-includes/js/jquery/jquery-1.10.2.min.map works. If it does, then everything mydomain.com/networkChildSiteName/wp-includes/ should work as well.

Viewing 1 replies (of 1 total)

The topic ‘incorrect generated url for min.map.js’ is closed to new replies.