Support

Admin Tools

#9673 URL redirection and SEF

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Friday, 22 October 2010 07:05 CDT

davesage
Hi,

I've re-directed some URLs to articles and the redirects work fine, it's just that the normal SEF re-write process seems not to change the new URLs. It leaves the normal messy urls in the browser instead of re-writing them with the normal SEF URLs. I don;t want to redirect to pages just with the SEF written in as if the sections change the urls will stop working?

Have I misunderstood something or is there a bug?

example is www.nnta.org/join.html

If I click on the actual articele in the site normally the SEF process does re-write the the URL correctly.

Thanks for your help,

Dave

nicholas
Akeeba Staff
Manager
No, this is not a bug, it's the intended mode of operation. Since the URL Redirection tool can be used to redirect to external sites we can not pass the URL through the Joomla! router to turn it into a SEF URL. AFAIK this problem only happens if you use the core SEF feature of Joomla!, but not if you use any third party SEF extension. The reason is an oversight in Joomla!, which doesn't try to enforce canonical URLs, i.e. it won't try to create SEF URLs automatically from plain (messy) URLs.

There are no plans to change that behaviour of the URL redirection system, as it would break redirections to external URLs.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

nicholas
Akeeba Staff
Manager
And just a final note. Your URLs will not really change even if your category names change! This is a Joomla! hidden feature. The router actually looks only at the numeric portion of the last parameter in order to determine the ID of the item to load. Anything before that is silently ignored. Even the alpha portion of the URL is ignored. For all Joomla! cares, http://www.example.com/something/1-somewhere/2-else/3-hello-world, http://www.example.com/something/1-somewhere/2-else/3-this-is-ignored and http://www.example.com/something/lets-write-something-silly/i-like-ice-tea/3-woot are all the same. Funny, huh? :)

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!