WordPress.org

Support

Support » Plugins and Hacks » How to add a warning page or squeeze page?

How to add a warning page or squeeze page?

  • Could someone kindly tell me how to rig a blog so that first-time visitors will see a different page than people who have already visited? And in a way that doesn’t mess with a search engine’s ability to read the site?

    I’m assuming the answer has something to do with cookies, but I don’t know where to begin.

    Any pointers?

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

    @whooami

    Member

    In the strictest sense, thats cloaking, according to Google.

    Cloaking will get you removed from Google.

    You posted this to plugins – there isnt a plugin that will do that. Use Google to find your answer(s).

    Cookies are explained in great detail on millions of web sites.

    Thanks for the reply.

    I definitely don’t want to cloak.

    I posted to this forum because I thought there might be a hack. Turns out it’s not that difficult.

    After tuning my search mojo a little more, I found a solution that should work for my purpose here… http://wordpress.org/support/topic/68310?replies=4

    and an explanation of setting cookies here… http://www.w3schools.com/php/func_http_setcookie.asp

    …just in case people want to know

    a simple solution for a splash, landing, or entry page, that does not require setting cookies, is to first create a new folder “YOURBLOG” and move all the files from the top level into that folder.

    then create a new index page at the root of the site with your warning and link that to “YOURBLOG” (relative link).

    in the WP admin, just go to options and change the URLs to your site from
    “http://www.YOURSITE.com”, to
    “http://www.YOURSITE.com/YOURBLOG”

    viola

    Phil

    Viola, sure, unless you’ve uploaded images whose links would need to be renamed in every single post because you moved all the content into a new directory. Is there another way?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to add a warning page or squeeze page?’ is closed to new replies.