WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] How to set link to set as home page?

[Resolved] How to set link to set as home page?

  • Hi,
    I want to add a link on my site to let users set it as their browser’s home page.
    How can that be done?

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • From what I can tell, you need to use javascript to do this. There are a number of online generators that will create the code for you. Here’s one I found: http://www.webmaster-affiliates.net/set-homepage.php

    I can’t tell you if it will work or not, but it should be a step in the right direction.

    Thanks, I found those too.
    Seems that there’s no way to do that for Firefox also, it’s not supportable..

    forecoms

    @forecoms

    I have found this code very useful because I setup the sites in a subfolder of the root directory then when I am ready to make it public I make an index.htm (or index.html) file with the code below.
    Change the Welcome text and the URL including the page ID for the home page. I have left an example of a club site which is just about to go public to replace the current site.

    This code sets the site up in a frame so it also hides the page ids etc from view which is specially handy if using Joomla but just a good with WordPress.

    Just copy the code below into Notpad and save as index.htm and upload to the site.

    I hope this helps
    Kid regards
    Alan White

    Start of code——————————
    <html>

    <head>
    <meta http-equiv=”Content-Type” content=”text/html; charset=windows-1252″>
    <title>Welcome To change this to what you want at the top</title>
    <meta name=”GENERATOR” content=”Microsoft FrontPage 4.0″>
    <meta name=”ProgId” content=”FrontPage.Editor.Document”>
    </head>

    <frameset framespacing=”0″ border=”0″ rows=”*,1″ frameborder=”0″>
    <frame name=”top” src=”http://www.chatswoodtm.org.au/wpsite/?p=1″ scrolling=”auto”>
    <frame name=”bottom” marginwidth=”0″ marginheight=”0″ scrolling=”no” noresize>
    <noframes>
    <body>

    <p>This page uses frames, but your browser doesn’t support them.</p>

    </body>
    </noframes>
    </frameset>

    </html>
    End of code ——————

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] How to set link to set as home page?’ is closed to new replies.
Skip to toolbar