Same Site Differnet content?

Permalink
Anyone ever had this issue?

When I browse to my site without a WWW as the prefix it works great.

If I add the prefix WWW to the domain name in the browser, it gets me to the site bit its missing some content. (IE. Slideshow.. etc..)

I run a number of concrete5 sites on my server and All of my DNS entries are exactly the same for each.

ANY IDEA?

Thanks a million

Mike0051
 
hostco replied on at Permalink Best Answer Reply
hostco
Add this to

config/site.php

define('BASE_URL', 'http://yourdomain.com');
Mike0051 replied on at Permalink Reply
Mike0051
I checked config.php. That line doesn't exist in Concrete 5.5 and Up.

Sorry should have mentioned that I'm running Version 5.5.2.1.

Thanks
bryanlewis replied on at Permalink Reply
bryanlewis
Hostco is right, you will have to manually add this to your config file... It still works in 5.5

define('BASE_URL', 'http://www.yourdomain.com');
Mike0051 replied on at Permalink Reply
Mike0051
Thanks so much... This worked.

Wonder why other sites don't need this piece of code?
bryanlewis replied on at Permalink Reply
bryanlewis
Not for sure you can also do the same thing via .htaccess