We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Can't Get Main Nav To Work

Development and Programming

theia's avatar
theia
14 posts
16 years ago
theia's avatar theia

I’m using the Structure Extension.

From index page, my other main nav links bring up this type of error.

Not Found The requested URL /about was not found on this server.

http://hwc.ehclients.com

The about page will successfully show if I go through Structure to view it. And if I manually enter “http://hwc.ehclients.com/index.php/about” it will show up as well.

<div id="links">
<.a {if segment_1 == ""} class="selected" {/if} id="button1" href="/"><span class="alt"></span></a>
<.a {if segment_1 == "about"} class="selected" {/if} id="button2" href="/about"><span class="alt"></span></a>
<.a {if segment_1 == "services"} class="selected" {/if} id="button3" href="/services"><span class="alt"></span></a>
<.a {if segment_1 == "gallery"} class="selected" {/if} id="button4" href="/gallery"><span class="alt"></span></a>
<.a {if segment_1 == "insurance"} class="selected" {/if} id="button5" href="/insurance"><span class="alt"></span></a>
<.a {if segment_1 == "contact"} class="selected" {/if} id="button6" href="/contact"><span class="alt"></span></a>
</div>

I had to add a . before the a to post the “links” section in this post, because otherwise it wasn’t showing the {if} statement.

Such a simple problem, what am I missing?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.