Uite cum arata .htaccess-ul meu:
Cod:
<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !\..+$
RewriteRule . /index.php [L]
</IfModule>
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
# Redirect www to non-www
RewriteCond %{HTTP_HOST} ^www\.pctroubleshooting\.ro$ [NC]
RewriteRule ^(.*)$ http://pctroubleshooting.ro/$1 [R=301,L]
<Files 403.shtml>
order allow,deny
allow from all
</Files>