romsonic free asked 3 years ago

Hi All,

I'm having a hard time getting navlinks to work on localhost. If for example i add a external link to LinkedIn It just keeps adding:


<MDBNavLink to="">linkedin</MDBNavLink>

I've used the Supported Content navbar from this page:

What is the correct way to add links in the Navbar?

Konrad Stępień staff answered 3 years ago

Hi @romsonic, I suggest you than you replace this

<MDBNavLink to="">linkedin</MDBNavLink>

for this

<a href="" className="nav-link Ripple-parent">Link</a>

Because <MDBNavLink to="link"> redirects you to links in your domain

romsonic free commented 3 years ago

Brilliant, exactly what i needed. Thank you very much.

Konrad Stępień staff commented 3 years ago

Hi. I am glad that I could help.

Your regards, Konrad.

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • User: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.13.0
  • Device: PC
  • Browser: Chrome
  • OS: Lnux
  • Provided sample code: No
  • Provided link: Yes