How to allow access to Shibboleth Service Provider on Drupal site without making other php files accessable?

I am trying to set up a shibboleth service provider on my drupal site. It is located at /Shibboleth.sso. I followed this guidance: https://web.osu.edu/technical-support/drupal-support/drupal-7/drupal-shib/ And added: RewriteCond %{REQUEST_URI} !^/Shibboleth.sso($|/) to my .htaccess file. This allowed the SP to work and be accessible but it also allowed access to any of drupal’s php files. E.g. I…

301 Redirection After Comment

The below code redirects visitors to any page that you want. // Redirect to thank you post after comment add_action(‘comment_post_redirect’, ‘redirect_to_thank_page’); function redirect_to_thank_page() { return ‘https://example.com/thank-you’; } However, I use WP Multisite feature and the same active theme is used by all subsites in the network. So can I redirect visitors according to the subsite…