As mentioned in my comment, ensure you test the following in a “clean” browser:
- Set
siteurl&hometohttp://www.example.com/wordpress-subdirectory - Set
permalink_structureto nothing - Set
active_pluginsto nothing - Ensure there are no
WP_SITEURLorWP_HOMEconstants defined in yourwp-config.php - Remove all rewrite rules to do with WordPress from your
.htaccess
Not of all these steps are necessarily required, but I’m trying to cover all bases here.
Attempt to log in. If you hit a white screen of death, it’s most likely that your active theme is calling plugin-dependent functions. Change stylesheet and template in wp_options to twentyfifteen (or any default theme, and ensure it exists in your themes directory).
Test the frontend. All good? Go and activate each plugin again, one by one, testing the frontend each time.
Hit the problem again? Clear browser cache and reset active_plugins, then install & activate Deploy Helper
Head over to Tools > Deploy Helper.
In the “Fix paths and URLs” section, set From to http://localhost (or whatever you were using during development) and To to http://www.example.com/wordpress-subdirectory. Leave server paths as they are.
Run Fix.
Activate the troublemaking plugin again and all should be well.