From 3420ab011678e83746ffa926ccf5aa70130454b0 Mon Sep 17 00:00:00 2001 From: "M.M.Azizi" <121211931+TheGreatAzizi@users.noreply.github.com> Date: Thu, 19 Feb 2026 14:26:38 +0330 Subject: [PATCH] Add basic URL rewriting rules in .htaccess --- .htaccess | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .htaccess diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..8667968 --- /dev/null +++ b/.htaccess @@ -0,0 +1,8 @@ +RewriteEngine On +RewriteBase / + +RewriteCond %{REQUEST_FILENAME} -f [OR] +RewriteCond %{REQUEST_FILENAME} -d +RewriteRule ^ - [L] + +RewriteRule ^ index.php [L]