• Home
  • Get help
  • Ask a question
Last post 5 hours 32 min ago
Posts last week 110
Average response time last week 29 min
All time posts 67419
All time tickets 10424
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.

#7297 – menuAlias instead of menuTitle

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.
Thursday, 09 July 2020 19:40 UTC
Vokado
We have a custom component that builds links in following format:
domain/menuAlias/itemAlias
When we enable sh404 for our component 'menuAlias' part is replaced with 'menuTitle', that breaks all our links
We cant manually correct all the urls in the shlink manager as there are more than 190k records in our component
What can we do to force sh404 take menuAlias instead of menuTitle? Is it possible to achieve using sef_ext plugin?
Friday, 10 July 2020 07:57 UTC
wb_weeblr
Hi

We have a custom component that builds links in following format:
Does that mean you wrote a router.php file for that component? Usually in such case, your router.php file does not add the menu alias itself, it relies on Joomla to do that. Correct?

There are 2 things you want to try:

1 - Under By component, locate your component and set it to:

1st column: "Use default handler"
2nd column: " Use router.php with menu item"

2 - Under "Extensions" -> "Joomla", set "Use menu alias" to "Yes"

Then purge URLs from the SEF URL manager and see how it goes.

Is it possible to achieve using sef_ext plugin?
Yes, with a dedicated sh404SEF plugin you can have any sort of URLs you want. Of course you 'll need to write it. It's simpler than a Joomla router.php file though, just have a look at one of the built-in ones from /components/com_sh404sef/sef_ext.

Best regards

Yannick Gaultier
weeblr.com
@weeblr
 
Monday, 10 August 2020 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.