Two different sites on same domain-address

Permalink 1 user found helpful
Hi there,

I've noticed an unpleasant problem with my fresh new website.

When I visit my login page on this link {http://www.birkas.nl/login } I will find out that my website is called just "WSV". But when I visit the same website without the "www" {http://birkas.nl/login } i will find out that my website is called "Birka's - Waterscouting De Vikings"

Also on some other pages there are differences, How is this possible, its not my cache or something?

I hope somebody could help me out,

-Benjamin Hamer

 
JohntheFish replied on at Permalink Reply
JohntheFish
Did you explicitly set the site up as two different domain names, or have you created it under one domain name and connected the other to it after?
benjaminhamer replied on at Permalink Reply
Hi JohntheFish,

I'm not sure what I did wrong, but I do know that I just created one site. I also thought that when I log in to {http://www.birkas.nl/login } that that would be the same page as {http://birkas.nl/login }

- Hamer
hostco replied on at Permalink Best Answer Reply
hostco
Define the base url you would like to use in /config/site.php by adding this line of code to it and saving the file.

define('BASE_URL', 'http://domainname.com');


swap out the name domainname with your domain name.
benjaminhamer replied on at Permalink Reply
Thank you very much, it helped a lot.

- Hamer