Results 1 to 4 of 4

Thread: How you would you approach this

  1. #1
    Mr.Bill's Avatar
    Mr.Bill is offline One is glad to be of service
    Join Date
    Dec 2008
    Location
    Redmond, Oregon
    Posts
    828
    Blog Entries
    1
    Thanks
    72
    Thanked 350 Times in 182 Posts

    How you would you approach this

    If you had xxx amount of domains all on one server and wanted to have them all to use the same Wordpress theme and use pretty much all the same info in the database (like settings and plugins) except the content how would you approach that?

    Will only be a single page of content on each one like this
    swallowtailinn.com
    but each site would have different content

    Would Wordpress mu be what I would want to look for this? Or would there be a better approach.

    To be honest been half tempted to change a wordpress template to a single html page and upload that to each site and then upload content to each one so then its just a single html page with no back end.

    Reverse IP Check ಠ_ಠ Proxy Sites
    <?php if ($youask == 'stupid question') { echo ('stupid answer'); } ?>

  2. #2
    Aquarezz's Avatar
    Aquarezz is offline Master Net Builder
    Join Date
    Dec 2008
    Location
    Belgium
    Posts
    3,852
    Blog Entries
    4
    Thanks
    683
    Thanked 591 Times in 463 Posts
    This is strange, can't you just upload the same files over and over again.. With the plugins already installed and the theme too.. without any posts database. Than just update every blog from scratch...

    This is how I would do it I guess..
    |Nico Lawsons

  3. #3
    Mr.Bill's Avatar
    Mr.Bill is offline One is glad to be of service
    Join Date
    Dec 2008
    Location
    Redmond, Oregon
    Posts
    828
    Blog Entries
    1
    Thanks
    72
    Thanked 350 Times in 182 Posts
    Another idea to keep the space used on the server down is to use say symlinks on the index page, css and images. Then in the index page have line like
    Code:
    <?php include '$_SERVER['HTTP_HOST'].php';?>
    or something like this

    Code:
    
    <?php 
    $domain_name = $_SERVER['HTTP_HOST'];
    if (strpos($domain_name, "www.") === 0)
        $domain_name = substr($domain_name, 4); 
    ?>
    
    <?php include '$domain_name.php';?>
    Not sure if the php is right but I am probably fairly close

    Then I would have xxx amount of php file with the domain name.php that could be changed easily without having to switch in between folders all the files would be in one location.

    Reverse IP Check ಠ_ಠ Proxy Sites
    <?php if ($youask == 'stupid question') { echo ('stupid answer'); } ?>

  4. #4
    Come's Avatar
    Come is offline Building a Twitter Empire
    Join Date
    Dec 2008
    Location
    Martinique, FWI
    Posts
    321
    Blog Entries
    6
    Thanks
    27
    Thanked 44 Times in 37 Posts

Tags for this Thread

Bookmarks

Posting Permissions

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