I am using 4.1 verion of wordpress, I have tried wordpress version 3.8.1 etc, in wp-admin it is throwing jquery is not defined error. I have tried uninstalling all the plugins, deleting all the wp-admin and wp-includes files.
I have tried the following codes in wp-config,
define('CONCATENATE_SCRIPTS', false);
define('SCRIPT_DEBUG', true);
none of them are working, any help, Thanks
I see this problem a website, in fact it was due to a hacked website :
The wp-include and wp-admin folders must not be touched, they are a part of the WP basic install. That's why they can be safely removed and replaced by clean ones without risk.
I opened up the devtools console on your site, and found that when it tries to include jQuery from http://www.coasterline.com/wp-includes/js/jquery/jquery.js/?ver=1.11.0 it's actually returning your homepage, not a JS file. I've seen this before when the
.htaccess
file isn't set up right.In WordPress, the
.htaccess
file redirects all requests to anything under your main WP directory to theindex.php
file, but there's supposed to be an exception for resource files like images, JS, and CSS. I'm guessing your.htaccess
file is corrupt and is redirecting EVERYTHING toindex.php
, even JS files.This is what
.htaccess
is supposed to look like:These 2 lines exclude files (
!-f
) and directories (!-d
) from the rewrite condition:Make sure those are intact.