Htaccess File

justanr/PHP-Galleria/master/.htaccess

RewriteEngine On

RewriteRule ^gallery/([^/]+)/?$ index.php?url=$1 [L]
RewriteRule ^gallery/? index.php [L]
RewriteRule ^index.php/gallery/([a-z0-9-]+)/?$ index.php?url=$1 [L]

ErrorDocument 404 /index.php
ErrorDocument 403 /index.php
Exit mobile version