• Hello,

    I have a forum that is sitting on the root of my URL. I installed WordPress in a subdirectory but now want a WordPress page to come up as the index page for my entire URL.

    I was able to accomplish this easily by changing the index page reference in my .htaccess file. So now a WordPress page comes up and from there the user can click through to my forum.

    So here is the problem. The forum offers a fast response time so I’d like to add a cache plugin to WordPress so it can perform just as well. The issue though is that all of the caching plugins I’ve used so far either modify or disable my .htaccess so that my index page redirect no longer works.

    Question for all of you – how do I accomplish this same redirect if my .htaccess is disabled or being superceded by the plugin? If that’s not possible are there any caching plugins that don’t affect my .htaccess? I tried both WP Fastest Cache and Litespeed cache and they both did what I described above.

    Thanks in advance for the help!

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • I am not sure I understand your question… Unless your host’s configuration does not support .htaccess there is no way to fully disable .htaccess because it is required for permalinks to work correctly. Some settings such as Expires Headers are usually set in .htaccess.

    Thread Starter openroadsite

    (@openroadsite)

    This issue is that even though I defined an alternate index page in my .htaccess, when I add a caching plugin it ignores this redirect.

    So if the plugin is not enabled – then my alternate index page works, but the moment I activate the plugin then it ignores the request and reverts back to the default index.php page.

    This seems to be the case for most caching plugins I researched but I might be mistaken which is why I wanted to ask the question here.

    I really want caching, but then I also need to define an index page other than the /index.php that is my current default.

    Thanks again!

    The only input I can give without seeing what other plugins you have installed is that it probably is not the caching that is causing this problem. It is probably a configuration issue with core wordpress or a different plugin that you have installed other than your caching plugin of choice. What is probably happening is that there is a plugin that is causing a conflict with the code that creates the cache and as a result it is defaulting to the wrong version of your homepage.

    Thread Starter openroadsite

    (@openroadsite)

    @binarywc – you are correct!

    I created a new install of WordPress on a test URL and installed only the caching plugin. Made all of the configurations I made to my production site and found that it had no impact on the .htaccess redirect.

    So I’ll troubleshoot my site and figure out why I have this unusual scenario taking place.

    Thanks for pointing me in the right direction!

    My pleasure. Please let us know what the problem was once you figure it out and don’t forget to tag the thread resolved for us as well.

    Happy Blogging.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Alternate homepage without .htaccess because of cache plugin’ is closed to new replies.