Title: humaneasy's Replies | WordPress.org

---

# humaneasy

  [  ](https://wordpress.org/support/users/humaneasy/)

 *   [Profile](https://wordpress.org/support/users/humaneasy/)
 *   [Topics Started](https://wordpress.org/support/users/humaneasy/topics/)
 *   [Replies Created](https://wordpress.org/support/users/humaneasy/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/humaneasy/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/humaneasy/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/humaneasy/engagements/)
 *   [Favorites](https://wordpress.org/support/users/humaneasy/favorites/)

 Search replies:

## Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[New Plugin] Extreme Video Plugin](https://wordpress.org/support/topic/new-plugin-extreme-video-plugin/)
 *  [humaneasy](https://wordpress.org/support/users/humaneasy/)
 * (@humaneasy)
 * [19 years, 10 months ago](https://wordpress.org/support/topic/new-plugin-extreme-video-plugin/page/2/#post-323962)
 * [@chaoswarp](https://wordpress.org/support/users/chaoswarp/):
 * Did you take a look at instructions for inclusion of WMV files at [?
    Is this included
   in 2.3, or in a next version or are they simply wrong? It is not the desired 
   solution but…
 * Best
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [The CODEX theme](https://wordpress.org/support/topic/the-codex-theme/)
 *  [humaneasy](https://wordpress.org/support/users/humaneasy/)
 * (@humaneasy)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/the-codex-theme/#post-220847)
 * Is there the MediaWiki theme used here, or something similar in organization 
   of information, available for other FOSS projects?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [TinyMCE editor, where can I download it?](https://wordpress.org/support/topic/tinymce-editor-where-can-i-download-it/)
 *  [humaneasy](https://wordpress.org/support/users/humaneasy/)
 * (@humaneasy)
 * [20 years ago](https://wordpress.org/support/topic/tinymce-editor-where-can-i-download-it/#post-404689)
 * @ sevendotro
 * TinyMCE is part of WordPress since 2.0 but as it can be higly configured the 
   guys at WP decided to slim it down.
 * I too miss a few things like un/ordered lists and a few others always visible
   in the menu but…
 * Point your browser URL to
 * `yourdomain/wpdir/wp-includes/js/tinymce/wp-mce-help.php`
 * and you will get more help on using the hidden WordPress’s TinyMCE options.
 * I advise you to ask that friend of yours to give you an hand in costumizing TinyMCE
   in your WP installation if you really need so.
 * Samples at [http://tinymce.moxiecode.com/example_full.php?example=true](http://tinymce.moxiecode.com/example_full.php?example=true)
 * Info on that, since it is just a TinyMCE thing, can be read at [http://tinymce.moxiecode.com/tinymce/docs/](http://tinymce.moxiecode.com/tinymce/docs/)
 * Hope it helps.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [2 domains 2 layouts 1 database](https://wordpress.org/support/topic/2-domains-2-layouts-1-database/)
 *  [humaneasy](https://wordpress.org/support/users/humaneasy/)
 * (@humaneasy)
 * [20 years ago](https://wordpress.org/support/topic/2-domains-2-layouts-1-database/#post-403830)
 * Better explaining Phunky’s ideia as I understood it.
    - Two fully hosted domains in the same server
    - Two diferent template designs
    - One MySQL database
 * This will mean that, for instance, you will have two full WordPress installations:
 * #1 at `/home/domainone/www/`
    #2 at `/home/domaintwo/www/`
 * And, for instance, the MySQL database at `localhost`
 * You then create two diferent themes and put:
 * #1 at `/home/domainone/www/wp-content/themes/yourtheme/`
    #2 at `/home/domaintwo/
   www/wp-content/themes/yourtheme/`
 * Altough those themes could be completely different they **MUST** have exactly
   the same name and the same directory name as you can see above. Else the system
   won’t work at all.
 * Set up both domain config files to point to the same database and just run install
   on one of them and configure it to use `yourtheme`
 * Remember that if you install a plugin in one of the domains you must copy the
   files also to the other domain.
 * Remember that users access both domains.
 * With this you will waste some space but will have two independent websites using
   the same domain.
 * Hope that all this options solve your problem without too much problems. Free
   support from me on this issue ends here. Others may help…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [2 domains 2 layouts 1 database](https://wordpress.org/support/topic/2-domains-2-layouts-1-database/)
 *  [humaneasy](https://wordpress.org/support/users/humaneasy/)
 * (@humaneasy)
 * [20 years ago](https://wordpress.org/support/topic/2-domains-2-layouts-1-database/#post-403828)
    - Same webspace
    - Different domains (hosted and parked)
    - Same Database
 * It is rather easy. Just required a little “thinking”.
 * #1 Open your theme’s “index.php”
 * #2 Replace…
 * `getheader();`
 * by
 * `
    $whatDomain = $HTTP_SERVER_VARS["HTTP_HOST"];
 * if (eregi("your-HOSTED-domain.com",$whatDomain)) 
    $headerStyle = '/hosted-header.
   php'; else  $headerFile = '/parked-header.php';
 * if ( file_exists( TEMPLATEPATH . $headerFile ) )
    load_template( TEMPLATEPATH.
   $headerFile ); else load_template( ABSPATH . 'wp-content/themes/default/header.
   php');
 * It is usually the first thing on your theme’s file.
 * Then in each domain-related header file you **MUST** hardcode everything related
   to where is the stylesheet since you cannot rely on Bloginfo() function to do
   that.
 * This suggestion allows you to future upgrade WP without big effort.
 * There are surely other ways, of course, but I pointed here some directions. It
   is always hard and implies coding. Ok!
 * You have here already a few ideias. Poke around and you surely get something 
   nice for your case.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [2 domains 2 layouts 1 database](https://wordpress.org/support/topic/2-domains-2-layouts-1-database/)
 *  [humaneasy](https://wordpress.org/support/users/humaneasy/)
 * (@humaneasy)
 * [20 years ago](https://wordpress.org/support/topic/2-domains-2-layouts-1-database/#post-403752)
 * Another option would be to modify slightly the wp-config.php.
 * I suppose that you have both domains pointing to the same server directory, i.
   e. one is fully hosted and the other is just parked on top of the first one. 
   I’ll call then Primary Domain and Secondary Domain, respectively.
 * A small step-by-step for my idea:
    1.  Copy WordPress to your server web directory
    2.  Open wp-config.php and seek for
         `$table_prefix = 'wp_':`
    3.   and replace it by
    4.  `
         $whatDomain = $HTTP_SERVER_VARS["HTTP_HOST"];
    5.   if (eregi("your-hosted-domain.com",$whatDomain)) {
         $table_prefix = 'yourhosteddomain_';}
        elseif (eregi("your-parked-domain.com",$whatDomain)) { $table_prefix = 'yourparkeddomain_';}
        else { die('This shouldn't never happen!'); }
    6.  On Primary Domain you run install WP as usuall
    7.  On Secondary Domain you also run install WP
         Altough it is the same application
        and the same database the modification above will do the trick to seperate 
        installations
    8.  On Secondary you install [FeedWordpress](http://projects.radgeek.com/feedwordpress/)
        and [properly set it up](http://projects.radgeek.com/feedwordpress/install/)
        or you can also use [Friends RSS](http://adam.404.org/projects/friends-rss)
        too
    9.  Tweak as much as you need the system to comply with what you want.
    10. Then you can start posting on Primary Domain.
 * When FeedWordpress at Secondary Domain pulls the RSS from Primary Domain you’ll
   have what you wanted, right?
 * The other option to have only one database and table for both domains but using
   diferent layouts will required much more coding.
 * Hope this will help you.

Viewing 6 replies - 1 through 6 (of 6 total)