How to send a url to another

kerux

Verified User
Joined
Apr 15, 2004
Messages
7
Location
Illinois
Okay, I know this is probably a simple fix, but I don't know how to do it. when I access my site with the www before it, everything works fine, but when I don't use the www, the forms act up and don't work right. Can someone please help me with this?
 
That depends on the script. Some have the option to use subdomains or domains. Read the config on the script and also try to change anything that requries a domain to just your domain not the subdomain www.domain.tld
 
You could put this in ~/public_html/.htaccess, which will redirect any request to the www-version of your domain:
Code:
 RewriteEngine On
RewriteCond %{HTTP_HOST} ^yourdomain\.tld$ [NC]
RewriteRule ^(.*)$ [url]http://www.yourdomain.tld/[/url]$1 [R=301,L]
 
Back
Top