WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] static pages not displaying

[Resolved] static pages not displaying

  • magicmummy
    Member

    @magicmummy

    Hi,

    I had created a website using satic pages (www.kidskingston.co.uk). I decided I would like to have blog posts as the front page, but leave the static pages.

    On my local install (so the live site is fine) I created post categories and then created a post and assigned it to a category then in settings->reading set “front page displays” to “your latest posts”.

    And that is where it all went wrong. Now when you click on the navbar links to any of the static pages it takes you to the blog posts. I removed the blog posts and changed the settings->reading set “front page displays” to static. Interestingly it does display the home page but none of the others work.

    Clear as mud? Please help!

Viewing 11 replies - 1 through 11 (of 11 total)
  • esmi
    Forum Moderator

    @esmi

    What are you using to create your navbar?

    magicmummy
    Member

    @magicmummy

    In header.php I used this line of code:
    <?php wp_pages_menu('sort_column=menu_order');?>

    magicmummy
    Member

    @magicmummy

    sorry that should read
    <?php wp_page_menu('sort_column=menu_order'); ?>

    does this help?

    esmi
    Forum Moderator

    @esmi

    Your navbar is working fine for me.

    magicmummy
    Member

    @magicmummy

    Yes sorry, perhaps I wasn’t clear but the link I have given is for the live system which is working fine. I made the changes on the local machine before going live with it (rather pleased I did too!). So just gave the link to give more of a context of what I am doing.

    I can’t for the life of me think why adding posts would break the static pages. When I hover over the links they look correct (ie hover over “about” shows ‘http://localhost/kidskingston/about/’) but once I click on it I get the “Not Found” page.

    esmi
    Forum Moderator

    @esmi

    Is mod_rewrite running on your local server?

    magicmummy
    Member

    @magicmummy

    hmmm I have no idea, I have mamp installed. How do I check that?

    esmi
    Forum Moderator

    @esmi

    Sorry – I’ve never used MAMP.

    magicmummy
    Member

    @magicmummy

    Hi esmi,

    Well thanks for taking the time though, I appreciate it. I’ll have a poke around with mamp and see if I can work it out.

    magicmummy
    Member

    @magicmummy

    hmmm still no joy, I have changed the static page setting front page to different pages in the settings menu. When I do this these pages do come up correctly as the front page of the site.

    anyone?

    magicmummy
    Member

    @magicmummy

    ahah!
    Right so was problem with plugin wp e-commerce and me. I had installed and activated the plugin accross the as network admin. I think this was confusing the system some how.

    I have de-activated the plugin from the network admin dashboard. gone to the kidskingston dashboard and resaved the permalinks. This seems to have fixed it….

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Resolved] static pages not displaying’ is closed to new replies.