• Home
  • Get help
  • Ask a question
Last post 2 hours 24 min ago
Posts last week 191
Average response time last week 1 hour 50 min
All time posts 68187
All time tickets 10530
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.

#1005 – How to stop urls with menu item only being generated

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.
Tuesday, 15 September 2015 22:12 UTC
enjie
 Hello Support

I have been battling to stop certain urls being generated:

1/ I have create a couple of menu items for display purpose only, for example 'Premium loose tea' under 'tea-shop.html'. Under this menu item there are various tea categories and under each category there are individual products. This menu item is currently linked Virtuemanrt home page (tea-shop.html) but not a Virtuemart category ('premium loose tea' is more a group name than a Virtuemart category), and therefore I really do not need a url generated for the menu 'premium loose tea' (tea-shop/premium-loose-tea.html).
2/ There are also K2 archive years being generated as individual urls such as 'date/2012/'. They are unnecessary and meaningless.

Your advice on how to configure sh404sef to stop these urls being generated will be greatly appreciated.

*our site: www.xxxx.com.au (we have a upgrade site which is a copy of the products site if admin login is helpful)
*the current config: item id - 'no' to all items
show category - last one only


best regards

En Jie
Wednesday, 16 September 2015 09:16 UTC
wb_weeblr
Hi

First off, you have to understand that sh404SEF never generate any URL. URLs (non-sef URLs, the only used internally by Joomla) are created by Joomla or by extensions running on your site. Joomla then asks sh404SEF to transform non-sef URL it creates into SEF URL that can be displayed on the site.
So all those URLs you talk about later always exist, whether you have sh404SEF or not on your site.

1 - Not sure I understand: if you display a menu item on your site, it's going to get a URL, otherwise nobody can click on it, right?

2/ See my preamble: sh404SEF do not generate those. They are created by K2 and displayed somewhere on your site. If they are displayed, then Joomla ask sh404SEF to create a SEF URL. But whether you have sh404SEF or not, a URL will always be created by Joomla, whenever a page with a link to those archive is displayed somewhere.

Rgds
 
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.