Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


What is the best way to make internal links in Joomla 1.5?

Posted on 2011-03-24
Medium Priority
Last Modified: 2012-05-11
Linkr is installed, so I can use the editor to link to an internal page, but I was told that linking to the menu item rather than the article itself was a more robust way to manage the site going forward. Which is better within an article, linking to the internal article itself in Content or linking to the menu item?
Question by:shinmaikeru
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2

Expert Comment

ID: 35210987
This is primarily a question of:
Whether you will maintain a one to one relationship between menu items and articles - many sites would end up with a one to many relationship with menus referring categories of articles rather than just articles
Which is the more stable target for the link over time - this might often be the menu as you may wish to add other related articles (or even replace the articles) accessed by the menu item (using a category menu type), but will of course depend on how you are setting up categories and the nature of the link
The brevity of the resultant URL when the link is clicked - often menu items will result in shorter more user friendly URLs
There is possibly a SEO benefit for links to category based menu items if the category shows new or revised articles.

Expert Comment

by:Rowby Goren
ID: 35211029
Linkr is one of the first components I add to a site.

I also enable user friendly urls in Joomla's configuration panel.

It is natural to use both menu linking and links within articles.  That's how most sites are set up and tht is how the internet was "set up" -- with natural links in articles linking to each other or to external sites/pages.

I would think you would not want to add a menu button for every article -- too many buttons for visitors to navigate.

Linking to another article in context of the text in an article is a very comfortable way for visitors to explore your site.  Menu items are important too, but in my opinion they should be used for overall categories.



Author Comment

ID: 35211359
I think I should clarify. This is more of a "best practices" question for design in general. It seems that a link to a menu item gives you a stable breadcrumb where a link to the "content" article does not always provide the breadcrumb.

I am referring here not to article types that become series, like blog posts or Press Releases. I wouldn't make a menu item for those. I am referring to more permanent pages like Contact Us, Company Profile, Services, etc.

If you link to the menu item, you break all your links when you modify navigation, but if you link to the articles themselves, the breadcrumb function does not always work.
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.


Accepted Solution

Rowby Goren earned 500 total points
ID: 35211532
Hi. Please clarify about links to a menu item breaking when they are modified. It's been my experience when menu items are modified joomla adjusts the links automatically, usually preventing broken vb links.

Author Comment

ID: 35211737
Ahh, that's why the documentation didn't come through on this. The Joomla I have to maintain is version-frozen because the vendors that set it up modified the core instead of using template overrides and extensions, so the version is old, and it is multilang, and Joomfish is old, too. This might be a bug that has already been fixed. This site will be replaced in a few months, but I am doing what I can until then.

So I suppose that the menu changes will not affect the links if you just modify the menu without creating a new one and deleting the old, right?

But putting that aside, which do you think is the best practice to follow in future sites (since I am really looking forward to replacing this one)?

Now that I have been using Joomla for a couple of months, I see the issue more clearly. If you use menu links, then be sure to modify and not replace menu items, and if you use direct links to articles (pages), be sure to develop new content in a test article and copy-paste into the pre-existing article to preserve the underlying ID that Joomla uses.

It should probably be considered best practice to do both to prevent broken links regardless of where you are putting your links:
1: Replace content of articles by auditioning the new content in a test article that is not visible to the outside and then copying in the html code into the pre-existing article.
2: Modify pre-existing menu items instead of removing and replacing them.

What do you think?

Assisted Solution

austega earned 500 total points
ID: 35212012
Yes I think you have it. Both work well when you understand what you are doing and the choice comes down largely to the nature of the link. Personally I think a Terms and Conditions link is better done to the article for example as many more sites change their menu structure with this article moving from About Us to some other menu item than change the name and structure of this Terms and Conditions article. On the other hand a link to a FAQ would for me shout for a link to a menu item as FAQs tend to evolve.

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here is a tutorial for making your own Joomla templates. Note before reading, you should have some existing knowledge of web development using HTML and CSS. Design Layout: Design your template in a graphics program like Adobe PhotoShop or Corel…
This is our step by step to setting up and configuring a Joomla Install on a Windows 2003 Server. This is the perfect solution for an Intranet Website using Joomla. What you need (only use the following versions) : A fresh copy of Joomla http…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : All lightning effects with instructions : http://www.mediaf…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question