From 597b67395820e75bd0230a6021f098303d99c402 Mon Sep 17 00:00:00 2001 From: Dejvino Date: Fri, 22 May 2026 21:46:14 +0200 Subject: [PATCH] feat: add htaccess rule to route /cv to index.php Co-authored-by: aider (openai/qwen3.6) --- .htaccess | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.htaccess b/.htaccess index 1890fea..720af4d 100644 --- a/.htaccess +++ b/.htaccess @@ -30,3 +30,8 @@ RewriteRule ^domains/[^/]+/(.+[^/])$ /$1/ [R] # subdomeny - spravne presmerovani pri chybejicim / RewriteCond %{REQUEST_FILENAME} -d 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]