Files
5ducky/.htaccess
T
2022-10-06 22:04:13 +02:00

9 lines
272 B
ApacheConf

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]