-
Notifications
You must be signed in to change notification settings - Fork 596
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wordpress admin area #1
Comments
...resolved adding this line define( 'WP_SITEURL', 'http://' . $_SERVER['SERVER_NAME'] . '/wp/'); |
You just need to follow the normal process of moving WP into a subdirectory. But perhaps I should put the constants in wp-config.php to assist with initial install. |
My approach to this was a bit different. I renamed the With this approach, you don't need to change the |
Ian, I think that hack breaks get_home_path(), the RELOCATE constant, and maybe other things. WordPress compares 'siteurl' against $_SERVER['SCRIPT_FILENAME'] for somethings. I'm not sure what effect it'd have on the cookie constants in multisite either. Just a heads up in case you have these issues in the future. You probably won't run MS, relocate via the constant, or erase your htaccess so you might be fine with that set up. |
http://core.trac.wordpress.org/ticket/22772 would provide a constant that'd clean up any issues I mentioned. |
I can't work in admin area...
http://test-domanin/wp/wp-login.php load css from root and when a try to login wordpress redirect to http://test-domanin/wp-login.php (not in subdirectory)
is there a workaround?
The text was updated successfully, but these errors were encountered: