• Hey everyone-
    After adding rewrite rules to get rid of the semi-ugly index.php/ prefix to my permalinks, I’m now having issues with my navigation bar.

    Page in question:

    https://216.22.50.202/inside-area-2/

    Now, click on any of the top links, and look at the address. It adds the slug name to the end of the address, so if you click on “calendar” it turns into https://216.22.50.202/inside-area-2/area-calendar instead of https://216.22.50.202/area-calendar/

    The file that controls that top menu looks like this:
    [truncated for clarity]

    <li><a href="inside-area-2/">Inside Area II</a></li>
    <li><a href="area-calendar/">Calendar</a></li>
    <li><a href="adult-riders/">Adult Riders</a></li>

    etc. etc.

    I’m guessing the problem has to do with the mod_rewrite I have set up to get rid of index.php. It basically just adds the link’s slug to the end of the address rather than taking the base link and tacking it on.

    How do I go about fixing this? Should I add a base href to stop it from doing this? (I feel like that shouldn’t be necessary.) ;P

    Thanks!!

Viewing 1 replies (of 1 total)
  • I’m guessing the problem has to do with the mod_rewrite I have set up to get rid of index.php.

    Huh? Why are you doing that? Are you on a server that doesn’t have mod_rewrite?

Viewing 1 replies (of 1 total)
  • The topic ‘Weird rewrite stuff going on!’ is closed to new replies.