Mar 182010
 

Please add following code in .htaccess file

Options +FollowSymLinks
DirectoryIndex index.php

RewriteEngine On
RewriteBase /
# Rule 1
RewriteCond %{HTTP_HOST} !^www\.MYWEBSITE\.com$ [NC]
RewriteRule ^(.*)$ http://www.MYWEBSITE.com/$1 [L,R=301]

# Rule 2
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
RewriteRule ^index\.php$ http://www.MYWEBSITE.com/ [R=301,L]

# Rule 3
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]