Wordpress redirecting to old frontpage after update -


i have wordpress multisite , on main site changed old front page in settings. on login it's redirecting old front page. updated permalinks , tried deleting old page leads 404. there else can try?

you can go wp-config.php file , type in end:

    define('wp_home', 'http://' . $_server['server_name']); define('wp_siteurl', wp_home . '/'); 

it has worked me bunch of times.. hope helps

ps: temporary decision. (taken from: " https://wordpress.stackexchange.com/questions/155471/when-moving-a-wp-site-why-does-wp-admin-redirect-to-old-site " )


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -