WordPress.org

Ready to get started?Download WordPress

Forums

SimpleSplash
simplespash (4 posts)

  1. passimal
    Member
    Posted 3 years ago #

    Hello ,

    Is it possible to use "the meta refresh" like this :

    <head>
    ...
    .....
    <meta HTTP-EQUIV="Refresh" CONTENT="3;URL=<?php bloginfo('home'); ?>/">
    ..
    </head>

    After 3 seconds , the same page come back
    Can someone help me ?

  2. Gabriel Reguly
    Member
    Posted 3 years ago #

    Hi,

    Which theme are you using?

  3. passimal
    Member
    Posted 3 years ago #

    Hello,
    I test Simple Splash in test site ... and a personal theme
    I modified the header.php ...
    I dont want to click enter to go to my web site
    So if I use the Meta refresh with temporisation of 3 seconds ...

    But I think it 's no possible due to referer ....

    ( my web site for test is here : http://www.bealcost.com/sitetest/)

    Best regards ...

  4. Gabriel Reguly
    Member
    Posted 3 years ago #

    Hi passimal,

    The trouble is that you are redirecting to the home page, the plugin will catch your redirect and once more show you the 'splash.php' page.

    You should redirect to another page, not the home page.

    Why not create a 'redirect-home.php' page?

    <?php
    header('location:http://www.bealcost.com/sitetest/');
    ?>

    Just add the above code to it, and it should work.

    Pay attention to have no empty lines before the code, else it will not work.

    Regards,
    Gabriel

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic