Changes in the .htaccess file can occasionally cause WordPress to direct all links to the home page. This can often be fixed by re-setting the permalinks.
- In the WordPress Dashboard, select "Settings", and then "Permalinks". Copy the current structure.
- Click "Default".
- Select "Save Settings".
- Change the setting back to the original structure you copied in step 1.
- Click "Save Settings".