Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Hi @coderevolution,

    Thanks for reporting.
    There hasn’t changed anything in the redirect really.

    Is the issue gone if you deactivate the htaccess and/or the php redirect? Maybe it helps to deactivate and activate the redirect again.

    Please also check if the rsssl_rest_optimizer mu-plugin is removed from the mu-plugins folder. We dropped this mechanism since 6.0.3

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Is there a way I can reproduce this myself? For example we use Burst Statistics on our websites, which uses its own Rest API route without issues in combination with Really Simple SSL.

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Ok, I’ve just tried this with

    add_filter( 'rest_url_prefix', function () {
    	return 'api';
    } );

    I found that the rsssl_is_logged_in_rest() function checked for the rest url including the wp-json. I’ve adjusted this, and the settings page now works fine with custom prefixes as well.

    Please check if this branch works for you:
    https://github.com/Really-Simple-Plugins/really-simple-ssl/tree/custom-rest-api-prefixes
    We will run our tests on it, I expect it to be released early next week.

    I couldn’t reproduce an issue with the redirect though. Can you tell me a bit more how I can reproduce that?

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    The custom rest api support will be released with 6.0.10. Until then this branch can be used. Let me know if you have any other questions.

    Thread Starter CodeRevolution

    (@coderevolution)

    Thank you very much for your prompt response. I give it a try now. ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Really Simple SSL Breaks if I change the rest_url_prefix’ is closed to new replies.