ktllo/album/master/.htaccess
RewriteEngine On
#Admin Page
RewriteRule ^edit/([0-9A-Za-z_]+)$ /edit/album.php?album=$1 [END,QSA]
RewriteRule ^edit/([0-9A-Za-z_]+)/([0-9A-Za-z_]+.[0-9A-Za-z_]+)$ /edit/image.php?album=$1&image=$2 [END,QSA]
#Album Page
RewriteRule ^([0-9A-Za-z_]+)/?$ album.php?album=$1 [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([0-9A-Za-z_]+)/([0-9A-Za-z_]+.[0-9A-Za-z_]+)$ image.php?album=$1&image=$2 [QSA]
On Github License
Files