Results 1 to 10 of 2247

Hybrid View

  1. #1
    Join Date
    May 2007
    Location
    SW Florida
    Posts
    1,051
    Plugin Contributions
    2

    Have a Drink Re: MultiSite Module Support Thread

    Quote Originally Posted by Adder View Post
    I`v just installed this module and I want to thank to all developpers for this great and very helpful module.

    So, in my config_sites folder, I have now for each site 2 files:
    1. www.site.com_config.php (with all the configuration necessary for this domain to work)
    2. site.com_config.php with the code above (so wen I type site.com in browser the site can work now and do not display "the domain does not exist".

    My question is: is this a good solution for solving this problem or there is a more efficien/sophisticated solution to solve this problem?

    Thank you again.
    That's the way it works, you did the right thing. They can share the template too.
    JOhn ><>
    Newest Site: ChargerPros - Stuff4Toys

  2. #2
    Join Date
    Sep 2007
    Posts
    18
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    Adder

    you should use an .htaccess file to direct all traffic to one or the other versions of your domain to eliminate duplicate content which hurts your SEO

    put the .htaccess file at the root of your site

    Code:
      RewriteEngine on
    
      # If your site can be accessed both with and without the 'www.' prefix, you
      # can use one of the following settings to redirect users to your preferred
      # URL, either WITH or WITHOUT the 'www.' prefix. Choose ONLY one option:
      #
    # To redirect all users to access the site WITHOUT the 'www.' prefix,
    # (http://www.example.com/... will be redirected to http://example.com/...)
    # uncomment and adapt the following:
     RewriteCond %{HTTP_HOST} ^www\.site\.com$ [NC]
     RewriteRule ^(.*)$ http://site.com/$1 [L,R=301]

 

 

Similar Threads

  1. v154 WorldPay Module version 3.0 - Support thread
    By countrycharm in forum Addon Payment Modules
    Replies: 116
    Last Post: 31 Dec 2025, 11:36 AM
  2. Bambora/Beanstream Payment Module Support Thread
    By swguy in forum Addon Payment Modules
    Replies: 127
    Last Post: 26 Mar 2021, 04:13 PM
  3. WorldPay Module version 2.0 - Support thread
    By philip_clarke in forum Addon Payment Modules
    Replies: 729
    Last Post: 4 Nov 2017, 08:23 AM
  4. PC Configurator Module [Support Thread]
    By lebrand2006 in forum All Other Contributions/Addons
    Replies: 254
    Last Post: 22 Aug 2012, 03:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg