redirect rule in the child theme of the website in functions.php




Wordpress LScache Plugin: redirect rule in the child theme of the website in functions.php

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hi, I need help with a redirect. How can I configure the LiteSpeed Cache plugin to have post-send redirection to the thank you page in contactform7? The redirect rule is in the child theme of the website in functions.php. Now that LiteSpeed Cache is turned on, redirection doesnt work, just add the link: # wpcf7-f17355-p13573-o1 Thanks! The page I need help with: https://bestdentalimplantsonline.com/h-book-now Hi, Could you please specify: what is expected redirection link ? and what happens with LSCWP ? redirection just doesnt happen at all or something ? what if you exclude that page from caching ? Best regards, Hi, what is expected redirection link? https://bestdentalimplantsonline.com/thank-you-for-contacting/ and what happens with LSCWP ? redirection just doesnt happen at all or something? it will be replaced by: https://bestdentalimplantsonline.com/#wpcf7-f17355-p13573-o1 what if you exclude that page from caching? I tried to exclude it from the cache, but nothing happened, the page is just as cached: (LiteSpeed Cache / Cache / Excludes tab -> Do Not Cache URIs box ) I provided the following information: /h-book-now/$ /h-book-now$ /h-book-now/ /h-book-now I also cleared the cache, but the page remained cached in the same way. Best regards, Jozsef Hi, please try page optimization -> tuning -> URI exclude , add your page URL there, save, purge all and see how it goes Best regards, ThanksHi, Did it work ? Best regards, Yes



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference