X-Git-Url: https://disinclined.org/git/?a=blobdiff_plain;f=.htaccess;h=b11bc6ae77c49cf7fc29783acc670295fe6d99a7;hb=0d5b65dd317eda7cd09d208c634067c4a9acb6fd;hp=fe7ef14c17b1fbb05d80edadb289caef9bf9cc6c;hpb=97e4d5ca330490d745f66eedf19b8422df6b304f;p=dylansserver.git diff --git a/.htaccess b/.htaccess index fe7ef14..b11bc6a 100644 --- a/.htaccess +++ b/.htaccess @@ -1 +1,6 @@ ErrorDocument 404 /404.php +RewriteEngine on +RewriteRule ^notes/page/([1-9]+)/?$ notes/index.php?page=$1 [L] +RewriteRule ^notes/([^/\.]+)/?$ notes/index.php?note=$1 [L] +RewriteRule ^notes/?$ notes/ [L] +RewriteRule ^([^/\.]+)/?$ index.php?project=$1 [L]