Welcome to WebmasterServe!

FREE TO JOIN! Join us now to engage in informative and friendly discussions about Webmastering, SEO, SEM, Internet Marketing, Programming, Graphic Design, Online Jobs and more. What are you waiting for? Ready to join our friendly community? It takes just one minute to register.

Dismiss Notice

Join WebmasterServe Forums 
Join the discussion! Have a better idea or an opinion? It takes just one minute to register Click Here to Join

Tutorial Manage Multiple Wordpress Website As Your Homepage.

Discussion in 'Wordpress Content Management System' started by Pooja Sharma, Feb 12, 2016.

  1. Pooja Sharma

    Yellow Belt

    Joined:
    Feb 5, 2016
    Messages:
    373
    Ratings:
    +20 / -0
    There are some people who prefer changes and for the same purpose they have one or more blogs with one domain name.
    In order to manage multiple blogs with Web hosting services, one have to install the worpdress files in root directory using file manager. After the folders are being uploaded, create the php page and paste te coding as mentioned below :

    Page name : index.php

    Coding :

    <?php
    define('WP_USE_THEMES', true);
    define('WP_IN_ROOTDIR', true);
    require('.//blog name/wp-blog-header.php');
    ?>

    Now lets say, you have three blogs -blog1,blog2 and blog3.
    Update the blog name , in require('.//blog name/wp-blog-header.php'); and you will be able to see the respective blog as your homepage.
     

Share This Page