WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This isn't a problem with a specific plugin, but with all of my plugins that use Ajax on the front-end (though surprisingly, none of the Ajax requests on the back-end are experiencing any issues). I'm working with plugins such as GD Star Rating and WP Polls, that all submit the user's response via an Ajax call, display a spinner while it waits for a result, and then displays the static result afterward.

All I get is the spinner, though the submission DOES WORK and the data IS being received and processed. Just the response never makes the round trip.

The only thing I can think of is that the SITE URL is www.mydomain.com but the HOME URL is www.mydomain.com/wordpress to correspond with the actual install location. I use a rewrite rule to make it look like the site is www.mydomain.com.

Does anyone have any suggestions about how I can fix the Ajax issue?

share|improve this question

closed as too localized by toscho Jul 29 '12 at 20:26

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Milan N., the author of the GD plugin series, just posted a "performance test" (which later came out is a review that checks if plugins meet his "guidelines"), that caused a lot of disgust. After some people read into his "guidelines" (how to optimize plugin loading), they - surprisingly - exposed themselves as pretty crappy. Just read "Preparing for optimization", where he writes an extremely complicated statement, instead of using basename( __FILE__ );. Maybe that's where the problems start? Have you tried it with deactivating the plugins? – kaiser Jan 9 '12 at 0:55
Thanks Kaiser, for your response. I look forward to reading Milan's expose :). However, I'm sure the problem is not with his plugin, since other plugins (not written by him) are experiencing similar errors. – Tom Auger Jan 20 '12 at 16:28
Have you turned off any plugins and try to use only one simple coded to test? Or maybe just write one yourself? Adding to nopriv hook isn't that hard ;) As Ajax runs via wp-load.php (which loads the whole core), there should be no issues with the rewrite rules. – kaiser Jan 20 '12 at 16:41

Browse other questions tagged or ask your own question.