From 3258959ad59a920ba2ceba910b8da7b1100bc52a Mon Sep 17 00:00:00 2001 From: Dylan Lloyd Date: Sat, 5 Mar 2011 16:07:42 -0500 Subject: [PATCH 1/1] Now issues 404 if page # not found --- .htaccess | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.htaccess b/.htaccess index 44ef5b9..d773249 100644 --- a/.htaccess +++ b/.htaccess @@ -1,7 +1,7 @@ ErrorDocument 404 /404.php RewriteEngine on -RewriteRule ^notes/?$ /index.php?page=1 [L] +RewriteRule ^notes/? /index.php?page=1 [L] +RewriteRule ^notes/page/? /index.php?page=1 [L] RewriteRule ^notes/page/([1-9]+)/?$ /index.php?page=$1 [L] RewriteRule ^notes/([^/\.]+)/?$ /index.php?note=$1 [L] -RewriteRule ^notes/?$ notes/ [L] RewriteRule ^([^/\.]+)/?$ /index.php?project=$1 [L] -- 2.30.2