Forums

[Plugin: WP-EMail] Broken on separate subdomain, possibly JavaScript security issue (2 posts)

  1. chiliberto
    Member
    Posted 2 years ago #

    Hi,

    I not only have my themes and plugins in a directory other than my core WordPress directory, but I have them on another subdomain. I had to do this to try to speed the loading time of my blog (it frees up http requests for images, video, external files.)

    So this seems to break the plugin. As soon as I click the submit button it hangs and doesn't send the email. The loading message just sits there.

    I think it's because the JavaScript that handles the AJAX calls is on a different domain than the file that is calling it. That is, my blog is at blog.mydomain.com and the JavaScript is at assets.mydomain.com.

    Any ideas about how to fix this?

    Thanks,
    GG

    http://wordpress.org/extend/plugins/wp-email/

  2. Lester Chan
    Member
    Posted 2 years ago #

    It will not work on subdomain because your browser block the AJAX call due to it coming from different domain for security issues.

    I don't have a solution for that because I am not using subdomains myself.

    But there is a solution contributed by one of my users for WP-PostRatings, the concept should be similar - http://forums.lesterchan.net/index.php/topic,3198.0.html

    See if you can port it over to WP-Email

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags