Quote:
Originally Posted by Tom
I dunno what mod_rewrite is... but i see a .htaccess file in my root and can edit it, so I'll add those lines.
All I gotta change is the "domain" part correct?
thanks so much guys!
|
Yeah, just change the "domain" to your actual domain.
After uploading, clear your browser cache and try the URL both with and without "www". If you get redirected to www then it probably works. Then you could test it further by going to a subpage, remove the www and then see if you get redirected to the corresponding page with www.
It's very IMPORTANT that you clear the cache before testing...
If you get some kind of "internal server error 500" or something else/weird happens then you probably haven't got access to mod_rewrite.
Also, if your .htaccess already contains something then do make a backup, so you'll be able to replace it if something doesn't work.
|