neslou
Posts: 4
Joined: Fri Aug 05, 2011 3:03 am

Help for url redirection of my domain without www

Fri Sep 09, 2011 5:24 pm

Hi Everybody,
I just bought chameleon product and no doubt it is a complex and very impressive product.
I am just trying to test and valid how user can arrive on my homepage when they find my site (http://www.neslou.com).
So here are my question :
what is the name of the firt file when they arrive on the site? index.php? or a another file in the default template in use?
Also, when i type juste http://neslou.com (without "www") i have an error message :
<< neslou.com, www.neslou.com - Wrong php settings, please contact ABK-Soft >>
Do you know where I can direct this in order to redirect users correctly whitout displaying this error message?
How can I know what is the page displayed for this wrong URL?
I have the same issue with a another domain (http://www.evolu-tech.com so also http://evolu-tech.com) that is DNS redirect towards my principal domain normally... so I have the same error message.

Thank's in advance for you help (every help is welcome) and sorry for my bad english (I am French :D )

neslou
Posts: 4
Joined: Fri Aug 05, 2011 3:03 am

Re: Help for url redirection of my domain without www

Sat Sep 10, 2011 3:42 am

HI,
Just for your information I have done here..

Question : How can I force domain names to be forwarded to one of my domains?

Answer :
Assuming that you have the site www.toto.com hosted with us and you have installed www.blabla.net as a synonym domain at toto.com.

As a default, when you enter one domain name or the other (toto.com or blabla.net) in the address bar in your browser, it will be the one you typed that appears in the address bar.

So you can force a different address to be displayed than the one entered by using the code below. So if someone enters blabla.net, it will be toto.com that is shown in the address bar.

This code is registered in a file called .htaccess and should be found at the root of your site (in the /web folder on your FTP). If this file isn't already there, you can create it on the server (it should start with a dot > ".htaccess").

RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.toto.com(:80)?$
RewriteRule ^(.*) http://www.toto.com/$1 [L,R]


Replace "toto.com" both times with the domain name you want to appear in the addres bar of the visitor's browser.

I hope, it will have no effect on the website..

User avatar
peleus
Posts: 57
Joined: Sun Nov 25, 2012 2:57 pm

Re: Help for url redirection of my domain without www

Sun Feb 17, 2013 10:37 am

It is not really recommended to exclude www. You might not be able to take full advantage of any SEO services that you might do in the future.

Return to “Chameleon Troubleshooting and Problems”

Who is online

Users browsing this forum: No registered users and 4 guests