• Resolved webjefa

    (@webjefa)


    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 (https://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

Viewing 5 replies - 1 through 5 (of 5 total)
  • in Settings >>>Readings have got static page selected and
    Front page should be Home
    Post page should be Blog

    Thread Starter webjefa

    (@webjefa)

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

    In fact, when I hover on “Home”, it says “https://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>

    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.

    Thread Starter webjefa

    (@webjefa)

    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.

    You are welcome as long as you got it working.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Dynamic menu navbar confuses home and blog links’ is closed to new replies.