Moving Magento2 from one sub-folder to another sub-folder in same domain displaying 404 error everywhere except home-page. Admin is also displaying 404 error.
Steps to produce:
- Copy all files from one folder to another-folder
- Created new db and imported from current db
- Updated database details in new
sub-folder/app/etc/env.php(Only database name is changed).
- Modify the value of
- Clear cache and also tried to changed mode from production to developer and vica versa.
Magento version: 2.1.3