Helpdesk is open from Monday through Friday CET

All support 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.

For pre-sale questions, please create an (free) account to post a message. Pre-sale tickets are public.

Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!

#6598 – Best Link / URL to Use when Creating Hyperlinks?

Posted in ‘Pre-sale questions’
Thursday, 05 September 2019 05:12 UTC
Hi team,

What is the best link (that will never break) to use when creating hyperlinks?

Because every time I edit a link in "SEF URLs", it breaks the links that I copy/pasted from my top menu on the frontend.

What is the best link/URL to use so even if I edit the "SEF URLs" section, it will not break links? and how do I find that link? Because copy from top menu always breaks links when I edit.



To note, I have to "Purge" after each time after I edit a link in "SEF URLs" for my menu item links to work again, is this normal?


I am using a mixture of Joomla Articles and SP Page Builder Pages.



Thanks
tuan@lumoscloud.com
Monday, 09 September 2019 10:37 UTC
Hi

Support is back online now so feel free to open a ticket as needed.

Because every time I edit a link in "SEF URLs", it breaks the links that I copy/pasted from my top menu on the frontend.
That's expected, sh404SEF does not use menu items to build URLs. URLs - at least for Joomla standard content - are created based on the items themselves, their categories, etc, not based on how the item was navigated to from the menu.

What is the best link/URL to use so even if I edit the "SEF URLs" section, it will not break links? and how do I find that link?
The standard way to insert links with Joomla is to use the non-sef version. That's the link that will always work. Joomla will detect those links if they start with "index.php?...." and convert them automatically to SEF URLs.

Using non-sef is the future proof way. If you use SEF links directly, and you have to change them at some point - which should be avoided of course, you'll have to redo all the links or add redirects, etc.

and how do I find that link?
I have found that simply using the JCE editor and insert links from it works the best. It shows you the available content for linking and inserts the proper non-sef links.

To note, I have to "Purge" after each time after I edit a link in "SEF URLs" for my menu item links to work again, is this normal?
You should never Purge - after the initial set up of sh404SEF.

If you use menu links as you described initially, they are supposed to not work.

Best regards
 
wb_weeblr
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.