# Make sure local WAMP serves gift video files with browser-friendly MIME types AddType video/mp4 .mp4 .m4v AddType video/webm .webm AddType video/quicktime .mov Options -Indexes DirectoryIndex index.php ErrorDocument 404 /phpcanvas/404.php RewriteEngine On # Do not rewrite real files or folders, like /assets/css/style.css or /index.php RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] # Pretty URLs RewriteRule ^$ index.php [L] RewriteRule ^home/?$ index.php [L] RewriteRule ^explore/?$ explore.php [L] RewriteRule ^coves/?$ coves.php [L] RewriteRule ^categories/?$ coves.php [L] RewriteRule ^cove/([^/]+)/?$ cove.php?id=$1 [L,QSA] RewriteRule ^marketplace/?$ marketplace.php [L] RewriteRule ^live/?$ live.php [L] RewriteRule ^go-live/?$ go_live.php [L] RewriteRule ^live-room/([^/]+)/?$ live_room.php?room=$1 [L,QSA] RewriteRule ^live-preview/([^/]+)/?$ live_preview.php?room=$1 [L,QSA] RewriteRule ^auth/?$ auth.php [L] RewriteRule ^account/?$ account.php [L] RewriteRule ^artwork/([^/]+)/?$ artwork.php?id=$1 [L,QSA] RewriteRule ^profile/([^/]+)/?$ profile.php?id=$1 [L,QSA] # Only unknown routes go to the 404 page RewriteRule ^.*$ 404.php [L]