• Hi!

    I installed wp-2005-01-26 tarball with Kubrick (default) theme.

    In order to create menu bar I inserted the following code in header.php:

    <div id="navbar">
    <ul id="navbarlinks">
    <li><a href="/gtk2hs/overview/" id="overview" title="Overview">Overview</a></li>
    <li><a href="/gtk2hs/" id="news" title="News">News</a></li>
    <li><a href="/gtk2hs/download/" id="download" title="Download">Download</a></li>
    <li><a href="/gtk2hs/documentation/" id="documentation" title="Documentation">Documentation</a></li>
    <li><a href="/gtk2hs/development/" id="development" title="Development">Development</a></li>

    </ul>

    </div>

    and added/modified the code in styles.css.

    Then I created few static pages (accordinf to the above code) and link them to the menu items.

    There is no problem with the menu, but only 1st static page(Overview) is shown (News is homepage), while for others I am getting Not Found error.

    Anyone has any clue?

    (the site is on: https://atmarama.org/gtk2hs/)

    Sincerely,
    Gour

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter gour

    (@gour)

    Hi!

    A short follow-up: on the site when there is default install, WP displays only 1st two-created static pages, while for the rest it gives 404 Not Found error ??

    Anyone can confirm it?

    I opened a support ticket on the bugzilla.

    Sincerely,
    Gour

    Edit: Strange enough. I played a little bit with the permalinks,
    and changing permission of htaccess and now it works :-()

    WP creates a rewrite rule for each page created. .htaccess is automatically updated with the new rules if it is writable. Otherwise, you must manually cut-and-paste the rules.

    Thread Starter gour

    (@gour)

    rboren: Thank you very much. I forgot about dynamic of WP and therefore was hitting my head against a solid wall ??

    When I make htaccess writable, everything works & rocks ??

    What is the preferred permission for htaccess, i.e. does it work with less than 666?

    Sincerely,
    Gour

    That depends on your host’s security setup. Try 666, 664, and 644 with 644 being most secure and 666 being least. Use the most secure one that still allows WP to write to .htaccess. For most hosts, 664 is the norm.

    Thread Starter gour

    (@gour)

    Thanks.

    It looks I cannot go below 664.

    Sincerely,
    Gour

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Static pages: Not Found problem’ is closed to new replies.