1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Set homepage

Discussion in 'White Hat SEO' started by crespozooooo, Jul 31, 2011.

  1. crespozooooo

    crespozooooo BANNED BANNED

    Joined:
    Nov 27, 2010
    Messages:
    200
    Likes Received:
    84
    Hi there...I'm wondering if there's any script or wp plugin that asks the visitors to set your website as their homepage when they access it.

    Is there anything like this?

    Thanks!
     
  2. infTee

    infTee Junior Member

    Joined:
    Mar 2, 2010
    Messages:
    107
    Likes Received:
    121
    Location:
    Ireland
    You can use any normal "make this your homepage" code. E.g: put this in your index.php in the theme editor before the "if have posts" code.
    Code:
    <a href="#"onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('yoursiteDOTcom');">Click to make this site your homepage</a>
    
     
    • Thanks Thanks x 1