0
Welcome Guest! Login
0 items Join Now

Carbonation theme works great as http:// but not as www.url - help please?

  • Carbonation theme works great as http:// but not as www.url - help please?

    Posted 18 years 1 month ago
    • Hi all,

      I hope this is the right place to post this. Just joined this great club - well done Andy, really super job.

      I've got my carbonation Joomla site up. It seems pretty okay but all the colour options and resizing options don't seem to work
      when you access the site via www.alstonconsultancy.com - however when you access the site via alstonconsultancy.com everything works just fine.

      Are the three www's causing a problem?

      It's obvious I must be missing something really simple but hey, techie I'm not! I'd appreciate any feedback/help on this folks.

      Thanks again.

      Dave Alston
    • urj2ic8's Avatar
    • urj2ic8
    • Hero Rocketeer
    • Posts: 421
    • Thanks: 0

    Re: Carbonation theme works great as http:// but not as www.url - help please?

    Posted 18 years 1 month ago
    • David Alston wrote:
      Hi all,

      I hope this is the right place to post this. Just joined this great club - well done Andy, really super job.

      I've got my carbonation Joomla site up. It seems pretty okay but all the colour options and resizing options don't seem to work
      when you access the site via www.alstonconsultancy.com - however when you access the site via alstonconsultancy.com everything works just fine.

      Are the three www's causing a problem?

      It's obvious I must be missing something really simple but hey, techie I'm not! I'd appreciate any feedback/help on this folks.

      Thanks again.

      Dave Alston

      just change your live site in configuration.php to with the www, and then use .htaccess to redirect everyone to the www
    • Billy Zoellers
  • Re: Carbonation theme works great as http:// but not as www.url - help please?

    Posted 18 years 1 month ago
    • Here is the redirect code for your .htaccess if you need it:
      RewriteCond %{HTTP_HOST} ^domain.com [NC]
      RewriteRule ^(.*)$ http://www.domain.com/$1 [r=301,NC]

      This will solve a couple of potential problems. You'll notice most large sites redirect to www.
  • Re: Carbonation theme works great as http:// but not as www.url - help please?

    Posted 18 years 1 month ago
    • Thanks Billy and James,

      between you both I got it sorted and it worked fine - the htaccess code also really helped. Much appreciated, but feel a little like a kid in a candy shop with all the choices of quality templates here and love the new Colormatic so I'm also trying that. I will decide which suits best between carbonation and colormatic in a day or two.

      Thanks again.

      Dave.
  • Re: Carbonation theme works great as http:// but not as www.url - help please?

    Posted 18 years 3 weeks ago
    • Hi folks,

      made my mind up and will go with Carbonation after all rather than Colormatic
      and have sussed the code I needed to make the site colour theme switcher
      and resizing features etc work with both www.alstonconsultancy.com and
      alstonconsultancy.com

      Instead of using $mosConfig_live_site = ' www.alstonconsultancy.com ';

      I now use...

      $mosConfig_live_site = 'http://' . $_SERVER["HTTP_HOST"];

      And it works great. Hope this helps anyone else with similar problems.

      All the best,

      Dave.

Time to create page: 0.064 seconds