Support

Home Forums Event Espresso Premium wp-admin/htaccess rules -> registration step not completed, refresh and retry

wp-admin/htaccess rules -> registration step not completed, refresh and retry

Posted: November 23, 2019 at 12:29 pm


a608237

November 23, 2019 at 12:29 pm

My prospective attendees are having trouble upon clicking “Proceed to Finalize Registration“. A popup appears: registration step could not be completed. Please refresh the page and try again..

Myself (admin) and another admin have not encountered this. In wp-admin I have an .htaccess file that restricts admin dashboard access to our IPs:

<FilesMatch ".*">

#################Apache >= 2.3
<IfModule mod_authz_core.c>
Require ip my.ip.address
Require ip admin2.ip.address
</IfModule>

</FilesMatch>

In a test, removing the line containing my ip address yields the same error as my prospective attendees upon event registration. How can I maintain my .htaccess configuration while allowing non-admins to register for events?

Many thanks in advance.


Tony

  • Support Staff

November 25, 2019 at 2:46 am

Hi there,

Personally, I wouldn’t bother with the above but if you are going to block /wp-admin/ access you’ll need to add an exception for /wp-admin/admin-ajax.php

That’s the WordPress ajax handler and needs to be publicly available, not only for EE but any plugin using it.

Here are a couple of examples of how you do it:

https://duo48.com/blog/whitelisted-wp-admin-admin-ajax-using-htaccess
https://stackoverflow.com/questions/29407574/admin-ajax-php-block-htaccess

The support post ‘wp-admin/htaccess rules -> registration step not completed, refresh and retry’ 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