I use jQuery.load to load a localhost URL (eg: localhost/wp/contact) which it works fine, but once I put it online, and change the URL devric.Co.cc/contact this does not load anything, would this got to do a with htaccess? But its set with URL rewrite, and its working if you go directly to the URL.
I use jQuery.load to load a localhost URL (eg: localhost/wp/contact) which it works fine,
Share
Your script requests the following URL
http://contact/, there is not need in window.location.pathname.Try this code