4

I've cloned an existing Craft site into MAMP Pro, set up my database in sequel pro and am able to access the site's homepage when I go to the URL I set up in MAMPS hosts. But whenever I click on a link, or try to access /admin, I get the following

Not Found
The requested URL /(page name) was not found on this server.

I'm sure it's something simple, probably something I'm missing when I set up the site locally, but I'm at a loss.

Davers
  • 67
  • 1
  • 5

1 Answers1

5

Try going to yoursite.com/index.php/(pagename). If that works, check out this article on how to remove it: https://craftcms.com/support/remove-index.php

strandall
  • 188
  • 11
  • Adding index.php did indeed make it go to the page. Turns out there is already a htaccess file with the contents as that doc says in there. Removing it doesn't help either... – Davers Nov 03 '16 at 20:29
  • 1
    ahhh solved it. It was me being a bit of a fool. The file was htaccess and not .htaccess, so the rewrite wasnt getting added. Thanks, that article pointed me in the write direction. – Davers Nov 03 '16 at 20:43