Redirection not working
-
Using v 1.5.5
The redirect from wp-login.php does not work.
Adapting the code, redirection works:
private function wp_template_loader() { global $pagenow; $pagenow = 'index.php'; if ( ! defined( 'WP_USE_THEMES' ) ) { define( 'WP_USE_THEMES', true ); } wp_safe_redirect( '/home/' ); #wp(); #require_once( ABSPATH . WPINC . '/template-loader.php' ); die; }
I removed all other plugins, why is it not working?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Redirection not working’ is closed to new replies.