WordPress: Mask page URL
问题 I have a form that redirects and opens a "thank you" page on submission, but I would like no one to have access to this page by URL. This page should be accessible from the redirection of the form. The problem is that I tried to do it from .htaccess , but it does not work. Current URL: mySite.com/thank-you I would like to mask it as: mySite.com/ I used this code in function.php: /** * Form ---> Thank you page * */ add_action( 'wp_footer', 'mycustom_wp_footer' ); function mycustom_wp_footer()