{"action":"created","issue":{"url":"https://api.github.com/repos/jarednova/timber/issues/710","repository_url":"https://api.github.com/repos/jarednova/timber","labels_url":"https://api.github.com/repos/jarednova/timber/issues/710/labels{/name}","comments_url":"https://api.github.com/repos/jarednova/timber/issues/710/comments","events_url":"https://api.github.com/repos/jarednova/timber/issues/710/events","html_url":"https://github.com/jarednova/timber/issues/710","id":112205122,"number":710,"title":"Routing doesn't work on MAMP but works on live server","user":{"login":"andydlin","id":3182609,"avatar_url":"https://avatars.githubusercontent.com/u/3182609?v=3","gravatar_id":"","url":"https://api.github.com/users/andydlin","html_url":"https://github.com/andydlin","followers_url":"https://api.github.com/users/andydlin/followers","following_url":"https://api.github.com/users/andydlin/following{/other_user}","gists_url":"https://api.github.com/users/andydlin/gists{/gist_id}","starred_url":"https://api.github.com/users/andydlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andydlin/subscriptions","organizations_url":"https://api.github.com/users/andydlin/orgs","repos_url":"https://api.github.com/users/andydlin/repos","events_url":"https://api.github.com/users/andydlin/events{/privacy}","received_events_url":"https://api.github.com/users/andydlin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jarednova/timber/labels/needs-investigation","name":"needs-investigation","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-10-19T18:32:18Z","updated_at":"2016-03-03T13:42:54Z","closed_at":null,"body":"Hi guys,\r\n\r\nSomething is weird, I've setup routing for my Schedule page but on my MAMP server, it says that \"The requested URL was not found\" but it works perfectly on my live server. Then I tried setting up a new route for my Sign Up page but now it doesn't work on either MAMP or the live server.\r\n\r\nHere's the code in my function.php:\r\n\r\n```\r\nTimber::add_route('schedule', function($params) {\r\n\tTimber::load_template('schedule.php', null, 200, $params);\r\n});\r\n\r\nTimber::add_route('register', function($params) {\r\n\tTimber::load_template('signup.php', null, 200, $params);\r\n});\r\n```\r\n\r\nAnd the code in my schedule.php:\r\n\r\n```\r\n$templates = array('schedule.twig');\r\n$context = Timber::get_context();\r\nTimber::render($templates, $context);\r\n```\r\n\r\nAnd code for signup.php:\r\n\r\n```\r\n$templates = array('signup.twig');\r\n$context = Timber::get_context();\r\nTimber::render($templates, $context);\r\n```\r\n\r\nThanks in advance for the help!"},"comment":{"url":"https://api.github.com/repos/jarednova/timber/issues/comments/191764747","html_url":"https://github.com/jarednova/timber/issues/710#issuecomment-191764747","issue_url":"https://api.github.com/repos/jarednova/timber/issues/710","id":191764747,"user":{"login":"connorjburton","id":10538031,"avatar_url":"https://avatars.githubusercontent.com/u/10538031?v=3","gravatar_id":"","url":"https://api.github.com/users/connorjburton","html_url":"https://github.com/connorjburton","followers_url":"https://api.github.com/users/connorjburton/followers","following_url":"https://api.github.com/users/connorjburton/following{/other_user}","gists_url":"https://api.github.com/users/connorjburton/gists{/gist_id}","starred_url":"https://api.github.com/users/connorjburton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/connorjburton/subscriptions","organizations_url":"https://api.github.com/users/connorjburton/orgs","repos_url":"https://api.github.com/users/connorjburton/repos","events_url":"https://api.github.com/users/connorjburton/events{/privacy}","received_events_url":"https://api.github.com/users/connorjburton/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T13:42:54Z","updated_at":"2016-03-03T13:42:54Z","body":"Hi @lukasholzer - I have cloned your repo, set it up and tested it on MAMP and it works fine.\r\n\r\nAre you sure your server just doesn't have a `.htaccess` in the web root? If I take the `.htaccess` out of my local install the same thing happens.\r\n\r\nI'm 90% sure this is a server config issue."}}