Last post 12 hours 33 min ago
Posts last week 141
Average response time last week 4 hours 42 min
All time posts 67805
All time tickets 10478
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.

#6167 – removing menu alias in URLS

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.
Friday, 10 July 2015 10:18 UTC
hitking
My reason to purchase Sh404SEF is to make my urls shorten. my current urls are:

domain.com/cat/subcat/id-alias

I want it to be
domain.com/id-alias

or better one would be
domain.com/data/id-alias

is it possible with SEF?

if yes, what's happen to old URLs? does the SH404SEF redirect all urls to new ones?

is it possible to make rules for just new articles and old/indexed URLS still use old routs?
Friday, 10 July 2015 12:01 UTC
wb_weeblr
Hi

If we talk about regular content, menut items are ignored when building URLs to articles and categories, so /id-alias will be easy to do. The default will be /last-category/alias, but you can change that to drop the category. I don't see any point in keeping the id in the URL, unless you have user-submitted content where titles can collide.

As for prefixing with /data/, you can do that to but the prefix is component-wide. So if we're talking about com_content for instance, and you add a "data" prefix for com_content, all com_content URLs will have that prefix.
Of course, you can always manually remove it from only some URLs if you want.

You can't keep the old URLs, for the simple reason that Joomla doesn't store them anywhere, so there's no way to know what the "old" URLs are.
We used to do automatic redirects from Joomla SEF to sh404SEF, but that has proven very unreliable and we dropped it some times ago. We do have auto-redirects on 404, which is a new feature and that may prove pretty efficient in your case, but only testing can confirm that.
Lastly, as your URL changes seems to follow a regular pattern, you should be able to write .htaccess rewrite rules to perform those redirect at web server level, which is also the most efficient way to do it.

Rgds
 
Friday, 10 July 2015 14:05 UTC
hitking
Thank you for your reply,

adding Sh404SEF means some more queries in each page load, I know you make cache for urls but I want to know how much more pressure it would add to my server. since I want to use the extension in heavy website with more than 30K articles/12K tags and 600K daily page view, is the pressure would make problem to me?

I read the whole documentation but I couldn't find the database structure of the Sh404SEF. do you store Meta data in different table? so you probably make some join between Meta Data and SEF and Joomla Article Manager, which may considerable pressure.

My concern is, do you consider heavy traffic website while coding? is there any heavy website which use your great extension?

Thanks again.
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.