WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Dynamic menu navbar confuses home and blog links (6 posts)

  1. webjefa
    Member
    Posted 3 years ago #

    Hello All,

    I could sure use some help. I used the Codex to add a dynamic Navigation Menu to my Theme (DIY). I also used the standard Admin menu to locate my blog in the root (http://malcs.org), and the blog files in /blog/ and followed these directions.

    It works perfectly EXCEPT that the "home" link in the navbar still goes to the blog rather than the homepage. The main header link goes to the right place, just not the navbar menu.

    I'm wondering if it's a Permalinks issue? I chose the third option on the permalinks menu (month & name), but not sure if that is "pretty"? I have an .htaccess in the root file (but not /blog subd) that matches the sample in the codex directions.

    Anywhere else I should be looking? Suggestions? thanks so much.... I'm really pushing the limits of my knowledge here....

    Susana

  2. govpatel
    Member
    Posted 3 years ago #

    in Settings >>>Readings have got static page selected and
    Front page should be Home
    Post page should be Blog

  3. webjefa
    Member
    Posted 3 years ago #

    Thank you, Gov, I just double-checked, and that's what I have.

    In fact, when I hover on "Home", it says "http://malcs.org/ in the Status Bar, but it doesn't actually go theree. Which makes me think it's something about my htaccess????

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
  4. govpatel
    Member
    Posted 3 years ago #

    try and switch to default permalink setting and see if you still have the same problem.

    if you do not have problem is working fine then switch back to custom structure and this will reset .htaccess file.

  5. webjefa
    Member
    Posted 3 years ago #

    Well, Gov, I've got it working, but I'm not sure how. Turns out my header image overlapped with the navbar, so it was partly a spatial thing. Removing the header /div link made a difference. But that still doesn't make sense, because the main header link should have gone to the right place.

    But I think it also did rewrite the htaccess file when I followed your suggestions because that's different now too. So maybe that was it, after all.

    I give up, but hey, it's working. Thank you so much for your help.

  6. govpatel
    Member
    Posted 3 years ago #

    You are welcome as long as you got it working.

Topic Closed

This topic has been closed to new replies.

About this Topic