Support » Plugin: Ajax Search Lite » Change /wp-admin/admin-ajax.php path for ASL

  • Resolved chickendipper



    Just a quick question this time, could you tell me if it is at all possible to set a custom path to /wp-admin\/admin-ajax.php for ASL?

    I am using Hide My WP ghost and it seems ASL doesn’t like it when I change this URL, other plugins seem to be ok.

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author wpdreams



    The plugin requests the ajax handler URL via the core admin_url('admin-ajax.php')

    If you change that, you will have to make sure, that the final URL is actually the WordPress ajax handler, and is accessible publicly.
    If it does not work, then it means, it is not accessible or the URL rewrite rule is not working, or the admin_url('admin-ajax.php') code is still returning the old handler.

    Ernest M.

    Thread Starter chickendipper


    Thank you.

    I have just used the compatibility setting within ASL settings “Use custom ajax handler” this has solved the issue 🙂

    One other thing with HideMyWp and ASL, I am unable to use the “change plugin paths” option specifically with ASL.

    Any chance there is a way around this?

    If I allow HideMyWp to change the ASL folder path the search show very oddly formatted.


    • This reply was modified 9 months, 2 weeks ago by chickendipper.
    Plugin Author wpdreams


    You may have to ask the plugin developer or their support about that.

    I don’t know how that feature works unfortunately. I only assume it is some sort of a ruleset of rewrite URLs and redirections. Some assets are obviously loaded from the plugin folder, so those have to be mapped somehow with the correct configuration.
    You may have to ask them how to configure it correctly.

    Thread Starter chickendipper


    No problem.

    I will contact the dev.

    Thank you again for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Change /wp-admin/admin-ajax.php path for ASL’ is closed to new replies.