I have just copied my local wordpress website from my pc to my laptop, including all files and the database. The config file, htaccess and settings are all exactly the same.
On the laptop, everything works fine on the front page, but every other page and post throws up a 404 not found error. When I set my permalink structure to default everything works again! But when I customise it, only the homepage works. The permalink structure works fine on the pc, but not the laptop.
What am I doing wrong?