I have set up xampp on my computer and did most of the things necessary to get it up and running with my real website's database and files but... only the home page is accessible. When I hover over any link the browser's status bar shows the correct url (http://localhost/test_site/sample-post) but I get sent to http://localhost/xampp. I can access wp-admin and edit post, etc. Can anyone tell me what I have to fix? Thank you very much.
I looked at the httpd.conf file and I believe mod_rewrite is running.
LoadModule rewrite_module modules/mod_rewrite.so
I wasn't sure about the AllowOverride so here is the way it is set:
<Directory />
AllowOverride None
...
<Directory "C:/xampp/htdocs">
AllowOverride All
...
<Directory "C:/xampp/cgi-bin">
AllowOverride None
...
I wish I knew what I did because it is now working. The settings in httpd.conf are as I stated and the only thing I did was open it, look, save, and restart Apache. ?????
Perhaps Apache just needed a kick? I've had that happen before now - especially running under Windows.