I need some help with a .htaccess?
here the problem if i do http://www.n9mfk.com/
$_SERVER['REQUEST_URI']; is blank
so my question i how can i make it /index.php
Code: Select all
RewriteEngine On
RewriteCond %{HTTP_HOST} !^(.*)\.n9mfk\.com$ [NC]
RewriteRule ^(.*)$ http://www.n9mfk.com/$1 [R=301,L]
RewriteRule ^/?avatar.png$ /avatar.php [L]