Jump to content

Link Appending On Each Click


narjis

Recommended Posts

i am trying to link a url to one of my controller from the top menu but each time it is appending the controller in the url.

here is the code of my header.php

<nav class="main-navigation clearfix span12" role="navigation">
 <h3 class="assistive-text">Main menu</h3>
 <ul>
  <li class="current"><a href="index.html">Home</a></li>
  <li>
   <a href="blog/about">About</a>
   <ul class="sub-menu">
 <li><a href="#">Subpage</a></li>
 <li><a href="#">Subpage 2</a></li>
   </ul>
  </li>
  <li><a href="contact.html">Contact</a></li>
 </ul>
</nav>

 

on clickng the About link the url keeps on extendig blog/blog/blog....../about.

 

How to resolve this issue.

Link to comment
https://forums.phpfreaks.com/topic/269525-link-appending-on-each-click/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.