Support

Home Forums Event Espresso Premium Calendar ICS HTTP Error 405.0 – Method Not Allowed

Calendar ICS HTTP Error 405.0 – Method Not Allowed

Posted: May 1, 2023 at 1:38 pm

Viewing 3 reply threads


brettfielo

May 1, 2023 at 1:38 pm

I am getting this error when testing the ICS download. The site is running on IIS (a client requirement) so I do need to figure out an option. I have installed redirection and when going directly to the ICS link the redirect does work but when clicking the icon from the event it does not. Do you have any suggestions? Can I modify the plugin directly to add the index.php to the url rather than the redirect? Any suggestions would be helpful.


Tony

  • Support Staff

May 2, 2023 at 6:15 am

Hi there,

So its the POST request that fails but the links themselves work fine?

You could switch the iCal output to use buttons rather than submits:

add_filter( 'FHEE__EED_Ical__generate_add_to_iCal_button__iCal_type', function() {
    return 'button';
} );

Add that to your theme’s functions.php file or preferably a custom functions plugin which we have some documentation on creating here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/


brettfielo

May 2, 2023 at 7:49 am

Perfect! Thank you for the help!


Tony

  • Support Staff

May 2, 2023 at 7:57 am

You’re most welcome

Viewing 3 reply threads

The support post ‘Calendar ICS HTTP Error 405.0 – Method Not Allowed’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso