seiya-dev/seiya_domain/master/src/.htaccess
Options All -Indexes
AddCharset utf-8 .html .css .js .xml .json
RewriteEngine on
RewriteCond %{HTTPS} on
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
RewriteCond %{HTTP_HOST} ^seiya.mcag.su$ [NC]
RewriteRule ^(.*)$ http://seiya.moe/$1 [R=301,L]
#RewriteRule ^rss.xml$ engine/rss.php [QSA,L]
RewriteCond %{QUERY_STRING} ^id=(w+)$ [NC]
RewriteRule ^page$ /?show=page&id=%1
RewriteRule ^contacts$ /?show=contacts
RewriteRule ^donate$ /?show=donate
# error pages
#ErrorDocument 400 /?code=400
ErrorDocument 403 /index.php?show=error&id=403
ErrorDocument 404 /index.php?show=error&id=404
#ErrorDocument 500 /?code=500
#ErrorDocument 508 /?code=508
On Github License
Files