Home Forums WordPress Plugins Hide My WP Excluding CDN path from Ajax Request

This topic is: resolved
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #5889
    avardar
    Pro
    Post count: 29

    Hello,

    In a javascript code there is a AJAX call but it gives error because url is getting CDN path when it tries to call. It works when i disable CDN support.

    How can i exclude it ?

    Thanks

    #5894
    Suman M.
    Post count: 12478

    Hi, can you please let us know your website url and the url in question (that should not be getting cdn path)?

    #5896
    avardar
    Pro
    Post count: 29
    This reply has been marked as private.
    #5917
    Suman M.
    Post count: 12478
    This reply has been marked as private.
    #5931
    avardar
    Pro
    Post count: 29

    Check this page

    i alerted the ajax URL

    http://kiyopi.com/profil/utkudalmaz/

    #5933
    Suman M.
    Post count: 12478
    This reply has been marked as private.
    #5938
    avardar
    Pro
    Post count: 29

    didnt work 🙁

    #5944
    Suman M.
    Post count: 12478

    Please let us know your website’s wp-admin login details (as private reply) so that we can have a look at the issue.

    #5946
    avardar
    Pro
    Post count: 29
    This reply has been marked as private.
    #5954
    Suman M.
    Post count: 12478

    I tried to fix this by adding some replacements but is not working. Actually there is no option to not use cdn only in specific urls. We might add this feature in the upcoming versions of the plugin.

    #5955
    avardar
    Pro
    Post count: 29

    maybe a hotfix for now ?

    #5958
    Suman M.
    Post count: 12478

    May I know why is that this particular url cannot be served from cdn?

    #5960
    avardar
    Pro
    Post count: 29

    Because it is a PHP file ?

    #5964
    Suman M.
    Post count: 12478

    Alright. I’ve added the following replacement in “replace urls” option and it’s now working:

    wp-content/themes/pointfinder/admin/core/pfajaxhandler.php ==> pfajaxhandler.php

    • This reply was modified 9 years, 1 month ago by Suman M..
    #5972
    avardar
    Pro
    Post count: 29

    thank you 🙂

Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in to reply to this topic.