Here is the answer.
Use .htaccess file in the root directory.
open notepad.exe and create file name .htaccesss
in that file write code
RewriteEngine On
RewriteCond %{HTTP_HOST} ^mydomain.com$
RewriteRule ^$ http://www.mydomain.com/index.html [L,R=301]
NOTE : FILE MUST BE PUT ON THE ROOT DIRECTORY AND MUST HAVE NAME AS .HTACCESS
Use .htaccess file in the root directory.
open notepad.exe and create file name .htaccesss
in that file write code
RewriteEngine On
RewriteCond %{HTTP_HOST} ^mydomain.com$
RewriteRule ^$ http://www.mydomain.com/index.html [L,R=301]
NOTE : FILE MUST BE PUT ON THE ROOT DIRECTORY AND MUST HAVE NAME AS .HTACCESS
THAT'S REALLY GONE BE HELPFUL FOR USER'S WHO DEALS WITH WEBSITES.
ReplyDelete