Hey guys I tried 3 methods to force www into the url and no method worked...give me a forth one that will work 100%
RewriteEngine on RewriteCond %{HTTP_HOST} !^www.your_domain.com$ RewriteRule ^(.*)$ http://www.your_domain.com/$1 [R=301] Code (markup): Put that in a .htaccess file.
Lets also check the basics, is your site on Apache (possibly sold as "linux") or IIS (possibly sold as "Windows"). What serverside scripting language are you using?
it's on apache (linux) i have never hosted my sites on windows, nor did you i tried that script before, didn't work, it's is the basic method, i'll try it again for you. I have 2 pages on the site right now since it is under construction, the home page and the 404 error, the home page is html which is not a server side language and the 404 page is php, the whole website will be written in php once it's done.... and as you know i have an .htaccess file