WordPress.org

Ready to get started?Download WordPress

Forums

How to add a warning page or squeeze page? (5 posts)

  1. davidemorgan
    Member
    Posted 7 years ago #

    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?

  2. whooami
    Member
    Posted 7 years ago #

    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.

  3. davidemorgan
    Member
    Posted 7 years ago #

    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

  4. philco
    Member
    Posted 7 years ago #

    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

  5. mistressemilie
    Member
    Posted 6 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic