1

For better user experience, all top level items in the primary menu are set to an empty href so that they only serve as labels for navigation menu sections. They cannot be clicked on and lead nowhere not even href="#". Below is an example:

Category Menu - (Parent menu item that is set to <a>Categories Menu</a>)

Category 1 - (Sub Menu Link) - <a href="http://domain.com/category/category-1/">Category 1</a>

Category 2 - (Sub Menu Link) - <a href="http://domain.com/category/category-2/">Category 2</a>

I am working on a site that has a particular structure and I just want to know if its worth changing it or if its OK to keep as is. How will this structure effect SEO in terms of passing link juice and ranking?

6
  • Why not use a heading because, you know, it's a heading?
    – Martijn
    Commented Dec 15, 2014 at 15:31
  • I am not sure what you are trying to do. If you are trying to gain some sort of SEO advantage with bogus links, I do not see the point. Fake or real, the result, if you are getting away with something, would be exactly the same. Just make some real links.
    – closetnoc
    Commented Dec 15, 2014 at 16:14
  • I am not trying to take advantage of fake links. I am working on a site that has a particular structure and I just want to know if its worth changing it or if its OK to keep as is.
    – dasickle
    Commented Dec 15, 2014 at 16:17
  • or it could be because he doesn't know how to use a element other than <a> in the template he/she is using... Commented Dec 15, 2014 at 16:17
  • Use <li>Menu Label</li> without using <a> if you want the same appearance then copy the appearance from ul li a{} into ul li{} Commented Dec 15, 2014 at 16:18

1 Answer 1

2

There is an accepted usage of anchor tags without href attributes: Named anchors such as:

<a name=sectionA>Section A</a>

Search engines are fine with that, so they should be fine with your a tag with no attributes as well. They won't see it as a link and they won't try to pass link juice to it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.