feat: add htaccess rule to route /cv to index.php

Co-authored-by: aider (openai/qwen3.6) <aider@aider.chat>
This commit is contained in:
Dejvino 2026-05-22 21:46:14 +02:00
parent 9abb6efd73
commit 597b673958

View File

@ -30,3 +30,8 @@ RewriteRule ^domains/[^/]+/(.+[^/])$ /$1/ [R]
# subdomeny - spravne presmerovani pri chybejicim / # subdomeny - spravne presmerovani pri chybejicim /
RewriteCond %{REQUEST_FILENAME} -d RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^subdom/[^/]+/(.+[^/])$ /$1/ [R] RewriteRule ^subdom/[^/]+/(.+[^/])$ /$1/ [R]
# Route /cv to index.php for CV view
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^cv/?$ index.php [L,QSA]