Support » Plugin: WP Super Cache » Every button takes to homepage

  • Hi

    I’m a newbie. I just enabled super cache and it only works with the homepage. Whenever I try to visit a different page it takes me to homepage only although the link on the browser is correct but loads homepage instead.

    I’m totally lost. What am I doing wrong?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Donncha Ó Caoimh


    Try using simple mode rather than export mode. I presume some mod_rewrite rule wasn’t written correctly.

    Hi @sayadhussain,

    I’m experiencing the same issue, did you ever find out what was causing it?


    Thread Starter sayadhussain


    Hi @donncha I tried simple mode and still having same issue.

    Thread Starter sayadhussain


    Hi @pixelanddot

    Nope, couldn’t find the cause of this annoying issue >:(

    If you find anything please post it here.


    @sayadhussain I ended up solving this. Our caching plugin (WP Rocket) was indexing index.php and this was causing issues.

    In our case, we had added…

    remove_filter('template_redirect', 'redirect_canonical');

    to the functions file and this was stopping /index.php being taken off if accessed.

    When someone visited /index.php our caching plugin was creating a cached folder called index.php and that then caused all our pages to show the homepage (but keep the correct URL).

    We ended up removing remove_filter(‘template_redirect’, ‘redirect_canonical’) and also excluding index.php specifically in the plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Every button takes to homepage’ is closed to new replies.