forked from 4ducky/4ducky
Move the original PHP site into legacy/
The PHP sources, templates and old jQuery-based scripts move unchanged into legacy/ for reference. Shared assets (media/, images/, favicon.ico, the default avatar) stay at the repository root. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
RewriteEngine on
|
||||
|
||||
#not a real file or directory
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteRule ^([^\.]*|search/.*)$ index.php?s=$1
|
||||
|
||||
RewriteCond %{HTTP_HOST} !^www\.4ducky\.com$
|
||||
RewriteRule ^ http://www.4ducky.com%{REQUEST_URI} [R=301]
|
||||
Reference in New Issue
Block a user