We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
0 parents commit 5698669Copy full SHA for 5698669
.htaccess
@@ -0,0 +1,4 @@
1
+RewriteEngine On
2
+RewriteCond %{REQUEST_FILENAME} !-f
3
+RewriteCond %{REQUEST_FILENAME} !-d
4
+RewriteRule ^(.*)$ index.php [L,QSA]
index.php
@@ -0,0 +1,12 @@
+<?php
+$organization = "MTEXdotDev";
+
+$request = trim($_SERVER['REQUEST_URI'], '/');
5
6
+if (empty($request)) {
7
+ header("Location: https://github.com/" . $organization, true, 302);
8
+ exit();
9
+}
10
11
+header("Location: https://github.com/" . $organization . "/" . $request, true, 302);
12
+exit();
0 commit comments