We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11954
    • 58 Posts
    Bumpy bumpy smiley
    Would really appreciate some answers, I’m really giving some serious thought to putting this onto a live site.
    • Quote from: heimdall at Apr 26, 2009, 02:30 PM

      I was being a bit slow, I now know what you mean. I put the following into my .htaccess and it works great with the subdomains:
      RewriteCond %{HTTP_HOST} ^www\.high-rollercasinos\.com$ [NC]
      RewriteRule ^(.*)$ http://high-rollercasinos.com/$1 [R=301,L]

      The only slight problem is that the main site now defaults to http://high-rollercasinos.com and I want it to be www.high-rollercasinos.com or does it not make any difference to seo/serps etc. Is this possible some how? Sorry if this is really obvious to everyone but I’m not so confident with redirects etc.
      Just reverse it...
      RewriteCond %{HTTP_HOST} ^high-rollercasinos\.com$ [NC]
      RewriteRule ^(.*)$ http://www.high-rollercasinos.com/$1 [R=301,L]

      ...if you want the non-www. to go to www.

      Quote from: heimdall at Apr 26, 2009, 02:30 PM

      I alos have a slight problem in that the subfolders still form part of the address. E.g before I would have www.high-rollercasinos.com/Norsk/Poker-Rom etc and now I have no.high-rollercasinos.com/Norsk/Poker-Rom when what I want is no.high-rollercasinos.com/Poker-Rom i.e to strip away the subfolder part. Again I assume this is fairly easy but after trawling round the internet I’m just getting more andmore confused, please help.
      I don’t believe that is possible in 0.9.x without hacking the core or writing some complex rewrite rules.
        • 11954
        • 58 Posts
        Hi, thanks for the reply, is there any more news on when revolution will come out in beta. It is correct that revolution has subdomain/subsite support built into it via contexts?
        • Quote from: heimdall at May 26, 2009, 10:31 PM

          Hi, thanks for the reply, is there any more news on when revolution will come out in beta. It is correct that revolution has subdomain/subsite support built into it via contexts?
          Release time-line for Revolution is discussed in a multitude of places here in the forums recently, and yes, Revolution provides Contexts which will make it easier to support various multi-domain/sub-domain setups seamlessly.
            • 1611
            • 591 Posts
            @heimdall
            Try to use this solution of multidomains. It reaaly simple and without core hacking.
              • 11954
              • 58 Posts
              Quote from: Andrey at May 27, 2009, 02:24 AM

              @heimdall
              Try to use this solution of multidomains. It reaaly simple and without core hacking.

              I would love too but I don’t know how to adapt it for subdomains, I’m guessing it’s just some change in the .htaccess but what?
                • 1611
                • 591 Posts
                Just write your sub\.domain\.com instead domain\.com.