johnpbloch / wordpress-core-installer

A composer installer for WordPress core so I can stop saying core is a wordpress-plugin type package.
https://packagist.org/packages/johnpbloch/wordpress-core-installer
GNU General Public License v2.0
207 stars 49 forks source link

Admin not working after server change #8

Closed BaljitKarwal closed 7 years ago

BaljitKarwal commented 8 years ago

HI, I have used this installer to install wordpress in subdirectory. Everything worked fine on local however once I pushed repo to staging, I am unable to access admin and other url's as well. I hope once I am able to login to admin, I can update permalinks and everything should work fine then.

Admin url - example.com/wordpress/wp-admin does not work. It shows login when I access it like this: example.com/wordpress/wp-login.php however it redirects to wp-login.php(example.com/wp-login.php) file without having wordpress in front of the url and shows 404 Not Found. I have updated all url's and paths in DB on staging already.

BaljitKarwal commented 8 years ago

Apologies, it is now working. Please ignore previous comment. It was something to do with env files.