I recently had a trojan injected in my java script wordpress installation. Part of combating this was deleting the old install and doing a restore from backup.
I also decided to move my directory. I used to have my site set to: http://www.example.com/blog/. I now have simply directed this to http://www.example.com.
I can see my site and links work fine, but the admin login redirects to the /blog/ directory and can't find the /blog/wp-admin folder there, naturally ,its located at /wp-admin.
I tried inserting the following code in the wp-config.php in the site root, but it did not solve the problem.
define('WP_HOME','http://www.woessners.org');
define('WP_SITEURL','http://www.woessners.org');
Can someone provide a solution? Thanks!