Support

Admin Tools

#22431 redirection tool

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 tonnick on Wednesday, 08 April 2015 08:56 CDT

tonnick
 Hello

I am trying the redirection tool, but maybe I missed something.

existing url :
http://www.dev.origin-gi.com/en/component/content/featured.html

new:
/en

but it does not work. I have disable all my cache plugins, but no luck. url rewriting is active, and redirect from non www to www is working fine as per htaccess generator.

could you please light me on this ?

thx !

nicholas
Akeeba Staff
Manager
What you are telling Admin Tools to do:

When someone visits http://www.dev.origin-gi.com/en redirect them to http://www.dev.origin-gi.com/en/component/content/featured.html

If you are trying to really do that, it won't work. The /en is a special URL created by multilingual sites and is handled by Joomla! itself. You can't redirect it. If you could do that you'd end up with an infinite redirection loop.

What you probably meant to do:

When someone visits http://www.dev.origin-gi.com/en/component/content/featured.html redirect them to http://www.dev.origin-gi.com/en

I believe this can be done with
Existing URL: http://www.dev.origin-gi.com/en
New URL: en/component/content/featured.html

I have to tell you that since the /en prefix is special for Joomla! (it is internally transformed to lang=en and removed from the URL) it is STILL possible that the redirection will fail. I'm afraid that the "multilanguage" feature of Joomla! is a minefield of arbitrary decisions and lack of fundamental logic. Take this from someone who has aided in the triage and fixing of known issues with it...

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!

tonnick
ok I did it on the wrong way, but, you're right, it does not work either. So which workaround could we use to redirect http://www.dev.origin-gi.com/en/component/content/featured.html to the home page ?

I tried as well with existing url : http://www.dev.origin-gi.com

but it does not work either. thx !

tonnick
arf sorry, I read too fast, it works ! I forget to remove the domain into the new URL.

great !

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!