diff --git a/settings.py b/settings.py
index 3b533107c0..c5e55c5096 100644
--- a/settings.py
+++ b/settings.py
@@ -79,6 +79,16 @@ TEMPLATE_DIRS = (
     os.path.join(os.path.dirname(__file__), "templates"),
 )
 
+TEMPLATE_CONTEXT_PROCESSORS = (
+    'django.core.context_processors.auth',
+    'django.core.context_processors.debug',
+    'django.core.context_processors.i18n',
+    'django.core.context_processors.media',
+    'djblets.util.context_processors.siteRoot',
+    'django.core.context_processors.request',
+)
+
+
 INSTALLED_APPS = (
     'django.contrib.auth',
     'django.contrib.contenttypes',
diff --git a/templates/base.html b/templates/base.html
index 87b414207b..b84711d47c 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -19,13 +19,13 @@
         <div class="navs">
             <ul class="nav">
                 <li>
-                    <a href="/home/">Home</a>
+                    <a href="{{ SITE_ROOT }}home/">Home</a>
                 </li>
                 <li>
-                    <a href="/peers/">Peers</a>
+                    <a href="{{ SITE_ROOT }}peers/">Peers</a>
                 </li>
                 <li>
-                    <a href="/groups/">Groups</a>
+                    <a href="{{ SITE_ROOT }}groups/">Groups</a>
                 </li>
             </ul>
         </div>