WordPress.org

Support

Support » Plugins and Hacks » WP Super Cache » [Plugin: WP Super Cache] Site in a subdirectory not flushing cache on home page

[Plugin: WP Super Cache] Site in a subdirectory not flushing cache on home page

Viewing 3 replies - 1 through 3 (of 3 total)
  • Oh, and just to be clear, it’s actually not a server config that’s returning the theme when accessing / (index.php), it’s an actual file set up under the root at index.php that does this:

    define('WP_USE_THEMES', true);
    require('./blog/wp-blog-header.php');

    Whereas the version under /blog looks like this:

    define('WP_USE_THEMES', true);
    require('./wp-blog-header.php');

    So I’m trying to figure out how to get WP-supercache to flush the root index.php page even though it sits above the /blog subdirectory.

    Plugin Author Donncha O Caoimh

    @donncha

    Why not just put the site at / and do 301 redirects? Google will transfer any pagerank to the new site. That’s what a 301 redirect is for!

    You’re right… In theory.

    However, I’ve had problems in the past with 301s decreasing pagerank and affecting overall ranking of pages. Since we rely so heavily on search traffic, I’ve tried to avoid doing that. For some reason Google seems to penalize a 301 compared to a 200 – at least sometimes.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP Super Cache] Site in a subdirectory not flushing cache on home page’ is closed to new replies.
Skip to toolbar