diff --git a/timber.php b/timber.php
index <HASH>..<HASH> 100644
--- a/timber.php
+++ b/timber.php
@@ -443,7 +443,16 @@ class Timber {
             require_once(__DIR__.'/functions/router/Route.php');
             if (class_exists('Router')){
                 $timber->router = new Router();
-                $timber->router->setBasePath('/');
+                $site_url = get_bloginfo('url');
+                $site_url_parts = explode('/', $site_url);
+                $site_url_parts = array_slice($site_url_parts, 3);
+                $base_path = implode('/', $site_url_parts);
+                if (strpos($route, $base_path) === 0) {
+                    $base_path = '/';
+                } else {
+                    $base_path = '/' . $base_path;
+                }
+                $timber->router->setBasePath($base_path);
             }
         }
         if (class_exists('Router')){
include wordpress install directory as routing base path #<I>