Quantcast
Channel: Topic Tag: error | WordPress.org
Viewing all articles
Browse latest Browse all 31588

guarino85 on "Loading JS fails on frontend"

$
0
0

Hi guys.
I just published a new website wordpress based but javascript is not working anymore. I don't get why, on localhost everything works great. I guess it's an htaccess problem or routing/permission or something similar.

Actually just the js files into the wp-includes folder don't work, the ones belonging to the theme folder work fine instead.

Loading the website terreapulia.it what I get from the console on Google Chrome is:
GET http://www.terreapulia.it/wp-includes/js/comment-reply.min.js?ver=3.5.1 404 (Not Found) http://www.terreapulia.it/:28
GET http://www.terreapulia.it/wp-includes/js/jquery/ui/jquery.ui.core.min.js?ver=1.9.2 404 (Not Found) http://www.terreapulia.it/:28
GET http://www.terreapulia.it/wp-includes/js/jquery/ui/jquery.ui.datepicker.min.js?ver=1.9.2 404 (Not Found)

But if I take a look into those folders via FTP the files are actually there, I don't get it.
Any ideas?

As I mentioned before, all the other js files work fine and are loaded. Just the ones inside the wp-includes folder don't. Plus, if you copy/paste the address of the js which is not working (i.e. http://www.terreapulia.it/wp-includes/js/comment-reply.min.js) you get the website custom error page I made, not a proper 404. This is why I think it's something related to routing/permission.. What do you guys think?

This is my htaccess:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

Thanks a lot!


Viewing all articles
Browse latest Browse all 31588

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>