diff --git a/.htaccess b/.htaccess index f3251bc..1845b51 100644 --- a/.htaccess +++ b/.htaccess @@ -2,6 +2,10 @@ RewriteEngine On RewriteBase / + #For short image urls + RewriteRule ^([0-9]+)$ /$1/ [R] + RewriteRule ^([0-9]+)/$ /view/specific/$1/ [L] + #Removes access to the system folder by users. #Additionally this will allow you to create a System.php controller, #previously this would not have been possible. @@ -29,5 +33,5 @@ # can be sent to index.php, and everything works as normal. # Submitted by: ElliotHaughin - ErrorDocument 404 /index.php + #ErrorDocument 404 /index.php \ No newline at end of file