# FireWin777 - clean URLs + post share cards
<IfModule mod_rewrite.c>
RewriteEngine On
# Post share cards FIRST (before the SPA catch-all):
RewriteRule ^post/([^/]+)/?$ post-share.php?slug=$1 [END,QSA]
# SPA catch-all: real files/dirs pass through, everything else -> index.html
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^ index.html [L]
</IfModule>
DirectoryIndex index.html
