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