• Resolved fightsmarttrav

    (@fightsmarttrav)


    Hey, thank you for making such a great plugin.

    I wanted to bring a bug to your attention, which caused a huge issue for me when also using WP Rocket.

    On a normal installation of wordpress, the homepage/index.php is redirected to the homepage itself. However, when your plugin is activated, that redirection no longer works, and the /index.php page itself is displayed.

    This causes major issues with caching plugins, as they create cached versions of a php page, which results in a cascade of 403 errors when this page is cached and loaded through wp rocket.

    I just wanted to bring this issue to your attention.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author joppuyo

    (@joppuyo)

    Hey,

    I am not aware of this issue. It is possible that this is a conflict between several plugins. Could you try to reproduce this issue without any plugins installed?

    Could you then write down the exact steps to reproduce this issue with a brand new WordPress installation?

    Thanks!

    Thread Starter fightsmarttrav

    (@fightsmarttrav)

    I will attempt to create a staging environment, and see what happens!

    Plugin Author joppuyo

    (@joppuyo)

    Hey, no need to do that.

    I realized that there’s a problem with how the plugin hooks to the template_redirect filter that causes different behavior compared to normal WordPress.

    Could you try to install a pre-release version of the plugin (2.0.0) which is available here: https://github.com/joppuyo/disable-media-pages/releases/tag/v2.0.0 ?

    If it fixes the issue, I will release a new version on www.remarpro.com. It’s gonna be a major 2.0.0 version because it technically changes how to plugin works.

    Thread Starter fightsmarttrav

    (@fightsmarttrav)

    Hey, it would appear that this fixed the problem!

    Thank you for the update, I really appreciate it.

    Plugin Author joppuyo

    (@joppuyo)

    I just released version v2.0.1 on www.remarpro.com that contains this fix. Could you verify everything works as it should one more time and I can then close this ticket? And big thanks for bringing this issue to my attention, I would not have realized this bug otherwise.

    Thread Starter fightsmarttrav

    (@fightsmarttrav)

    Looks like this also works! Bear in mind, all I checked was the /index.php redirection, but looks good.

    Happy to help. And thank you for the support!

    Plugin Author joppuyo

    (@joppuyo)

    Ok great. I will close this topic but feel free to open another one if you encounter any further issues.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Index.php bug… breaks WP-Rocket’ is closed to new replies.