1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

custom welcome screen for first time site vistors

Discussion in 'Programming' started by matt_62, Jun 23, 2012.

  1. #1
    For legal reasons im mirgrating an existing site to its new domain. The old site is still going to be run until the domain names expire (almost 1 year to go), what i want is to have it so that when users come to my site, they see a welcome screen that mentions the new one, and they can either continue (stay on the old) or go to the new site. Ideally they should only see it once per visit or per week. I guess a cookie would do the job, but how would i go about doing something like this?

    any ideas, or links or whatever would be appreciated.
     
    Solved! View solution.
    matt_62, Jun 23, 2012 IP
  2. atxsurf

    atxsurf Peon

    Messages:
    2,394
    Likes Received:
    21
    Best Answers:
    1
    Trophy Points:
    0
    #2
    your "welcome screen" sets cookie. Your main page shows "welcome screen" if the cookie is not set.
    BTW is your site have any backlinks, I would not let the domain to expire, but rather redirect it to the new domain name (for PR and traffic purposes)
     
    atxsurf, Jun 23, 2012 IP
  3. #3
    Do you absolutely need a welcome screen for first time viewers?

    The reason I ask... It *could* seem like URL cloaking to a Search Engine. It also may have a negative impact on your ranking since the Search Engine can't crawl your actual site FROM the main page.

    Why don't you instead use a CSS Floating DIV to display a welcome message?
     
    NetStar, Jun 23, 2012 IP
  4. atxsurf

    atxsurf Peon

    Messages:
    2,394
    Likes Received:
    21
    Best Answers:
    1
    Trophy Points:
    0
    #4
    that is a good point and this is what I thought OP meant by "welcome screen" (with the X in the right top corner to close it if not interested). This is how it usually done with on the sites that offer something (like to signup for newsletter) on the first visit
     
    atxsurf, Jun 23, 2012 IP
  5. maxking1234

    maxking1234 Peon

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I agree with atxsurf just set a cookie when they first see it then check for it whenever they log on, but for that remember not to set an expiry date so it is infinite!
     
    maxking1234, Jun 24, 2012 IP
  6. matt_62

    matt_62 Prominent Member

    Messages:
    1,827
    Likes Received:
    515
    Best Answers:
    14
    Trophy Points:
    350
    #6
    thanks but for legal reasons the domain name wont be renewed. losing page rank, negative seo, or anything like will be devastating, but the domain name contains a trademark (i had permission to use it though....), i will just have to be more careful with my choice of domain names in the future.

    The only task now is to transfer the majority of visitors as seamlessly as possible over to the new domain.

    Im not familiar with that, but i shall google it and see how i go. It sounds just like what i am looking for.
    Thanks heaps for the tip.
     
    matt_62, Jun 24, 2012 IP