Setting AllowOverride to All breaks login
-
I recently installed WordPress on my local server and I wanted to change the Permalink structure from plain to one of the other styles. When I do this I would get 404 errors, I checked the forums and realized that I needed to have
AllowOverride All
in the config files. When I would enable this, I could no longer save changes in the Permalinks settings page (https://www.mydomain.com/wp-admin/options-permalink.php). Whenever I would make a selection (i.e. Post Name) and click save, it would revert back to the setting when I opened the Permalinks Settings Page.After trying a couple of different things I realized if I would change the permalink setting then set
AllowOverride All
the redirect would work properly. However when I would close my browser, I would be logged out and unable to log back in. On entering my login info and clicking log in, it would loop me back to the login page prompting me to enter my credentials again.I’ve tried disabling all plugins, clearing my browser cache, changing the
AllowOverride
in my default configs as well as my site specific configs.Running on: PHP 7.3.13, Ubuntu Server 18.04.3 LTS, Apache 2.4.29, MySQL 5.7.28
- The topic ‘Setting AllowOverride to All breaks login’ is closed to new replies.