• Hello people,

    I’m in progress of building a website on wordpress,
    the problem is the following:
    the website has lets say 5 menus, and each menu
    has 4 submenus leading to different pages.
    I won’t be able to finish all the pages in time but I have to make the website public/online, so I need some pages of some menus to appear (after you click on them) as under construction pages to the visitors, but for me as an admin, I would be able to keep working on them.
    I’ve tested some plugins like WP Construction Mode or Coming Soon Page & Maintenance Mode by SeedProd but you can only have one page as under constuction, or the whole website.
    That doesn’t work for me , since half of the website is ready, so I need the other half to be under constuction.

    Could you please suggest me of any plugin that does that?
    It doesn’t matter if it is commercial.

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • @zanatos, Create private pages which not wants to display to user.
    So only admin can access this pages and you can easy to manage your layouts.

    or using this code redirect on homepage or construction page.

    add_action('wp','redirect_stuffs', 0);
    function redirect_stuffs(){
    global $wpdb; 
        if ($wpdb->last_result[0]->post_status == "private" && !is_admin() ):
            wp_redirect( home_url(), 301 );
            exit();
        endif;
    }
    Thread Starter zanatos

    (@zanatos)

    thank you for the reply ravipatel
    If I do that in a page , and a visitor comes to that page,
    what will he see?
    some Under construction page with a nice tempate or just an error message saying “this page is private” ?

    @zanatos, Just redirect homepage to construction page: Wp_redirect

    wp_redirect('{add your construction url}', 301 ); 
    
    or
    wp_redirect(get_permalink({add id of your construction or any page})); 
    Thread Starter zanatos

    (@zanatos)

    thank you for the replies.

    Where exactly do I write/put the code? do I have to edit any php file?
    or through the wordpress admin -> Pages -> edit page ?

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

The topic ‘Multiple Under Construction Pages’ is closed to new replies.