diff --git a/.htaccess b/.htaccess
index 770f242fbd46febed6dbcf7c00e3bcd449383803..3255b33e9292b05ec66e6c1bb3468510548e42f6 100644
--- a/.htaccess
+++ b/.htaccess
@@ -4,7 +4,7 @@ RewriteEngine on
 
 # Rewrite former site subdomain pages to new site pages
 RewriteCond %{HTTP_HOST} =www-rw.doc.ic.ac.uk
-RewriteRule . http://psvg.doc.ic.ac.uk/research/javascript.html [R=301,L]
+RewriteRule ^ http://psvg.doc.ic.ac.uk/research/javascript.html [R=301,L]
 
 RewriteCond %{HTTP_HOST} =www-lrr.doc.ic.ac.uk
 RewriteRule ^papers.html http://psvg.doc.ic.ac.uk/publications/ [R=301,L]
@@ -13,7 +13,7 @@ RewriteRule ^ca($|/) http://psvg.doc.ic.ac.uk/research/concurrency.html [R=301,L
 
 # And for -dev subdomains for testing purposes
 RewriteCond %{HTTP_HOST} =www-rw-dev.doc.ic.ac.uk
-RewriteRule . http://psvg-dev.doc.ic.ac.uk/research/javascript.html [R=301,L]
+RewriteRule ^ http://psvg-dev.doc.ic.ac.uk/research/javascript.html [R=301,L]
 
 RewriteCond %{HTTP_HOST} =www-lrr-dev.doc.ic.ac.uk
 RewriteRule ^papers.html http://psvg-dev.doc.ic.ac.uk/publications/ [R=301,L]