How to always use www. to reach domain?
We want customers to only access the site by http://www.ourdomain.com when they type in http://ourdomain.com. Is there a way to set it up so that any time ourdomain.com is used it redirects the visitor to www.ourdomain.com?We had this setup properly using the following in the httpd.include file but can't seem to get it to work again.
/etc/httpd/conf/httpd.include
RedirectMatch (.*)\.*$ http://www.ourdomain.com
Maybe we are not putting it in the right location within the httpd.include file.
Also, we are using plesk and changed some passwords but don't see how this would make a change in the httpd.include in such a way to cause this problem file. The only reason I mention this is because this is the only thing that we have done recently before this problem started to occur.
Any ideas?