diff --git a/index.php b/index.php
index 91f0cfb5e4803aee277b6fe667c9c521e3745b08..b0b77969c57e5a7b11043e3186a190f676bfe15a 100644
--- a/index.php
+++ b/index.php
@@ -44,7 +44,7 @@ if($not_installed) {
 
 // Handle WebDAV
 if($_SERVER['REQUEST_METHOD']=='PROPFIND'){
-	header('location: '.OC_Helper::linkToAbsolute('remote','webdav.php'));
+	header('location: '.OC_Helper::linkToAbsolute('remote.php','webdav/'));
 	exit();
 }
 
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index 3f1d57c73d452b600244b7f2add42105dc44015c..799606e6a9117c28a58d76743c49b94ac8c41549 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -47,7 +47,7 @@
 
 <p class="personalblock">
 	<strong>WebDAV</strong>
-	<code><?php echo OC_Helper::linkToAbsolute('remote', 'webdav.php'); ?></code><br />
+	<code><?php echo OC_Helper::linkToAbsolute('remote.php', 'webdav/'); ?></code><br />
 	<em><?php echo $l->t('use this address to connect to your ownCloud in your file manager');?></em>
 </p>