Hey all,
I have an odd error where when you get to our wp-admin login page, it cannot load CSS or JS, but allows you to log in. When I log in, I'm taken to the home page instead of the console. I get the black admin bar at the top of the page with all my plugins and the URL in the address bar will change but I will stay on the homepage.
I'm completely stumped and was wondering if anyone else has experienced this as it is hard to find support articles where you're able to log in, but no get to the console.
helpful context:
- We do use ALIO WP Security to change the default login URL, when you type the "wp/wp-admin" after the url, it doesnt bring you to the 404 not found page, it brings you to the homepage.
- This is a cloned server. The one it was cloned from works like a charm.
- We're using Ubuntu 24.04.1
Things I've tried:
- Setting file/directory permissions correctly
- disabling plugins/themes
- checking if users have admin access
- clearing browser cache
- flushing wp cache
- editing wp-config file with define('CONCATENATE_SCRIPTS', false ); etc..
Thanks in advance for any help/tips
EDIT: context & grammar
Did you perform a search/replace (live domain to staging domain) after you cloned the site? Check that the domain is correct in the wp_options table – rows containing ‘siteurl’ and ‘home’ need to be correct.
Manually delete the AIO Security plugin folder to remove it from the equation.