• Resolved curlybracket

    (@veganist)


    Hello,

    I have a little problem : I use an .htaccess file to protect my wp-admin directory. But the new version of the calendar uses this file :

    var TribeCalendar = {"ajaxurl":"http:\/\/romain-garioud.com\/wp-admin\/admin-ajax.php"};

    which is a problem, obviously, because, this file is not publicly accessible. Is it possible to replace this line? Use a file contained in another folder? Or not use it at all?

    http://wordpress.org/plugins/the-events-calendar/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Accessing admin-ajax.php is required for numerous parts of WordPress to function and, for the time being at least, is also the recommended way to interact with WordPress via ajax. So for this one I can really only suggest that you remove or modify your .htaccess rule or else add an exception.

    Thread Starter curlybracket

    (@veganist)

    Thank you Barry, you’re right, there are several plugins using these files. I will add an exception.

    Great!

    Thread Starter curlybracket

    (@veganist)

    Just as a follow up, this is what i did in the end and it works correctly.
    I added a .htaccess to wp-admin/ containing this :

    AuthName "Restricted"
    AuthType basic
    AuthUserFile  /homez/blah/.htpasswd
    <Files "wp-login.php">
    Require valid-user
    </Files>

    Thanks for sharing curlybracket: hopefully that helps others out there, too 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘The new events calendar uses files from wp-admin’ is closed to new replies.