Proper Setting for WordPress in sub-dir
-
My site(s) recently were “hacked” by changing the functions.php in the active theme directory. The offending code has been removed, the site(s) have been cleaned and strengthened, and my system scanned.
One baffling annoyance remains – the wordpress files (and the files it uses) are in the ‘wordpress’ sub-dir. I’m sure that the original configuration for site was:
‘siteurl’,’http://mydomain.com/wordpress’);
‘home’, ‘http://mydomain.com’);But if I try to set that using the Dashboard/Settings/General or via the theme functions.php, then I can’t login to the dashboard (‘file not found’). If I change the configuration to:
‘siteurl’,’http://mydomain.com’);
‘home’, ‘http://mydomain.com’);I can login, but not using ‘mydomain.com/wordpress’ as was the case before the troubles, but rather with ‘mydomain.com/wp-login.php’
Also as a result of this problem, existing links to the files (e.g., images) are broken – since they want to link to ‘./wordpress/wp-content/…’, but WP now thinks the files are ‘./wp-content/…’
I’m sure there is something trivial wrong, but I apologize for not being able to spot it.
Any help or pointers are appreciated.
The blog I need help with is: (visible only to logged in users)
-
Any help or pointers are appreciated.
Sorry but this forum is for blogs/sites hosted by WordPress.com
WordPress.COM and WordPress.ORG are completely separate and different http://support.wordpress.com/com-vs-org/
And you should ask in the WordPress.org forum
http://wordpress.org/support/
- The topic ‘Proper Setting for WordPress in sub-dir’ is closed to new replies.