Last post 5 hours 44 min ago
Posts last week 81
Average response time last week 44 min
All time posts 70378
All time tickets 10862
All time avg. posts per day 20

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.

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

Posted in ‘Pre-sale questions’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Thursday, 05 September 2019 05:12 UTC
[email protected]
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
Monday, 09 September 2019 10:37 UTC
wb_weeblr
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
 
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.