Forums

[resolved] Static homepage - advice needed (5 posts)

  1. DaraghLally
    Member
    Posted 8 months ago #

    Hi All,

    I've recently set up a personal blog with Wordpress, and it works like a dream.

    Now I'm trying to set up a business blog, but this time I want the homepage to be static.

    My issue is that I can set any static page to be the homepage, so if for example I decide "About" as the static homepage, but this causes duplication of that page. There are now 2 pages with the same content, one at www.example.com and one at www.example.com/about. There is also duplication in the navigation bar, with both "Home" and "About" showing the same content.

    Is there a way to avoid this duplication?

    Ideally I'd like to homepage to just have one nag bar option pointing at it.

  2. apljdi
    Member
    Posted 8 months ago #

    If you set a page to be the front page, say you name it 'front', you'll be able to access it via www.example.com and www.example.com/front. This isn't actually duplication. It is the same page with two urls. Basically, anyone landing on www.example.com will be automatically redirected to the home page-- front. You don't have to display two links to the page, though, if that is what you are worried about.

    If you'd give us your real URL it would a lot easier to help.

  3. MichaelH
    moderator
    Posted 8 months ago #

    There is also duplication in the navigation bar, with both "Home" and "About" showing the same content.

    Assuming that Home is hardcoded, then either delete that or use the exclude option with template tag, wp_list_pages(), to exclude the About page from showing in the navigation.

    Also see this discussion:
    https://core.trac.wordpress.org/ticket/9288

  4. DaraghLally
    Member
    Posted 8 months ago #

    Thanks guys, got it sorted using the info you posted. The site is www.maximise.ie by the way.

  5. jonimueller
    Member
    Posted 8 months ago #

    There's also another plugin called Exclude Pages that creates a checkbox on each page so you can opt that particular page out of the Page Navigation. This is useful for pages such as Legal Notices, Disclaimers, Privacy Policies, etc., that usually only appear in the footer. :)

    Grab it here:
    http://wordpress.org/extend/plugins/exclude-pages/

Reply

You must log in to post.

About this Topic