Support

Account

Home Forums Front-end Issues Missing scripts

Solving

Missing scripts

  • I have wordpress installed in a subdirectory /wp and when I try and add a front end form to my site I get a few missing script errors:

    GET http://site.dev/wp-admin/css/color-picker.css?ver=3.7-alpha-25000 404 (Not Found) site.dev/:16
    GET http:/site.dev.dev/wp-admin/js/media-upload.js?ver=3.7-alpha-25000 404 (Not Found) site.dev/schools/newstead-3/:648
    GET http://site.dev.dev/wp-admin/js/word-count.js?ver=3.7-alpha-25000 404 (Not Found) site.dev/schools/newstead-3/:684
    GET http://site.dev/wp-admin/js/editor.js?ver=3.7-alpha-25000 404 (Not Found)

    The scripts are being added from /wp-admin instead of /wp/wp-admin, this doesn’t happen in the backend. Any ideas why this is happening and if there’s anything I can do to fix it?

    Thanks,
    Helen

  • For now I’ve just added a rule to my htaccess to sort this out…it might be the safest solution but if there’s a better way it would be good to know:

    RewriteRule ^wp-admin/(.*) /wp/wp-admin/$1 [QSA,L]

    Thanks!

  • Hi @hhumphrey

    Perhaps the issue could be due to the alpha release you are using, instead of the stable 3.6?

    Thanks for sharing your fix.

    Cheers
    E

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Missing scripts’ is closed to new replies.