Add below code to functions.php
in active theme. When you open login page yourdomain.com/EMC/haris/wp-login.php
(you don’t have to log in) the options will be updated. After all remove the code from the functions.php
.
update_option( 'siteurl', 'http://yourdomain.com/EMC/haris' );
update_option( 'home', 'http://yourdomain.com/EMC/haris' );
4
solved I move all the files and folder from the wordpress root directory to wordpress sub directory