It appears that this is a common problem, but I have tried every fix I've seen on this forum and still cannot get the local copy of my WP site working. I can view my homepage at localhost/mysite, and I can even view /wp-login.php. However, I cannot view any posts or other non-core pages. I receive 404s on those pages. Additionally, my login information will not log me into the site, even though I have confirmed that all user information survived the database migration.
I am on a local Debian LAMP stack.
Things I have done:
localhost/mysite in the wp_options and wp_posts tables.
define('WP_SITEURL', '/mysite'); define('WP_HOME', '/mysite');
Changed RewriteBase to
/mysite/ in .htaccess
Confirmed that rewrite.load is in /etc/apache2/mods-enabled
Changed all cases of
AllowOverride None to
AllowOverride all in /etc/apache2/sites-available
Any idea what I may have missed? Any help would be greatly appreciated.