Paste this code in wp-login.php
if($_GET['newurl']!="yes" && $_POST['s_val']!="login" && $_GET['action']=='' && $_GET['ywsl_social']=='')
{
wp_redirect(site_url());
exit();
}
Now go to your admin URL type
Http://siteurl/wp-login.php?newurl=yes
0 comments:
Post a Comment