• Home
  • Get help
  • Ask a question
Last post 1 hour 5 min ago
Posts last week 141
Average response time last week 4 hours 42 min
All time posts 67801
All time tickets 10476
All time avg. posts per day 21

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#5817 – Wat is the best way to link to a menu item in a article or module ?

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Sunday, 19 May 2019 18:56 UTC
deef
 Before I was linking to the 404 sef link. But I found out that with a update every link has to be changed in the articles.

So I did this linking to

https://www.xxxx.be/index.php?Itemid=113

On this page https://www.xxxx.be/ please hover on this

https://prnt.sc/

You can see that the link is https://www.xxxx.be/index.php?Itemid=113 instead of the seo link https://www.xxxx.be/contact/contacteer-ons

Thank you for you're advice

cheers,

deef
Monday, 20 May 2019 07:28 UTC
wb_weeblr
Hi

So I did this linking to



https://www.xxxx.be/index.php?Itemid=113
You would have gotten the same result without sh404SEF, just with Joomla SEF.

For links to be processed and turned into SEF URL, Joomla needs them to start with index.php?xxxxx.

So if you start your links inside of articles with /index.php, /something, site.com/xxxx, https://site.com/xxxxx, Joomla will simply leave them untouched and won't even try to make them SEF - which includes sending to sh404SEF if sh404SEF is running on the site. But again, results would be the same without sh404SEF.

So the "right" and future-proof way of including links is to insert the non-sef URLs:

index.php?Itemid=113
index.php?option=com_content&view=article&id=12&Itemid=34

My own personal preference is to use the free JCE editor. It has a "link" button which when clicked will just let you select an article, a category, a menu item visually and it will insert the proper link with a single click. By far the easiest and fastest way to do it.

Best regards
 
Tuesday, 04 June 2019 05:34 UTC
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.