• Home
  • Get help
  • Ask a question
Last post 4 hours 8 min ago
Posts last week 141
Average response time last week 4 hours 42 min
All time posts 67794
All time tickets 10475
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.

#2928 – Dynamically create sef urls

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, 06 November 2016 16:17 UTC
geetha
Hi,

I have used my own components and its a listing component, based on the id in the url it will display the details in that page. Sef url is created only user visits. Can we created the sef url before user visits the url dynamically? Also its showing non sef url, can we redirect non sef url into sef url? Its generating sef url based on the id in url ex: 37.html, 15.html etc. Can we generate based on the name of the institute dynamically like vrsg.html,sgs.html? 
Monday, 07 November 2016 09:18 UTC
wb_weeblr
Hi

sh404SEF is only an add-on to the Joomla router. You simply have to use the Joomla API for routing in your component, as you should do in all situations, whether you have sh404SEF or not.

So any non-sef URL you build should be passed to the JRoute::_() Joomla method to be properly routed. This would include probably building a router.php file, in accordance with Joomla API.

This is the Joomla documentation page you need to read. sh404SEF has no special requirements on top of that, although you can also build a sh404SEF plugin for your component, on top of Joomla router.php. That will give you better control, but is not a requirement.

Rgds
 
Tuesday, 22 November 2016 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.