Okay, I did a dud thing and moved my wordpress into a sub-folder and forgot to re-configure it. Totally messed up all the stylesheets and the login and everything.
Anyway I found out how to fix it. So firstly, move all your wordpress files from your root level to a sub folder like ‘wordpress’ - move the index.php file as well!
in /wordpress/wp-config.php
add the following lines with your own site and this will fix up all the dud links & styles:
define('WP_SITEURL', 'http://www.sample.com/wordpress/');
define('WP_HOME', 'http://www.sample.com/wordpress/');
Tags: css, php, stylesheets, wordpress