Support

Admin Tools

#15097 Admin Tools URL redirection

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 user71930 on Friday, 22 February 2013 08:11 CST

user71930

Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? yes, (url redirection)
Have I searched the tickets before posting? yes
Have I read the documentation before posting (which pages?)? url redirection chapter
Joomla! version: latest
PHP version: (unknown)
MySQL version: (unknown)
Host: (optional, but it helps us help you)
Admin Tools version: latest

Description of my issue:  Hey Nicholas, hope you had happy birthday :D

    I have problem with URL Redirection, I want to redirect the following page: 

http://www.mysite.com/component/mailto/?tmpl=component&template=ekho&link=1273336659bebacfae41d23582fda0edbde5503b

    To

     http://www.mysite.com    

  

    I've tried multiple way after reading the pdf, but in this case the page isn't redirecting to the front page. 

    How would I write these in the Existing URL and New URL field? 

nicholas
Akeeba Staff
Manager

You can't. URL query parameters (everything after the question mark) is preserved. Due to the way Joomla! works, the query parameters have precedence over SEF URLs in determining which component will be used to display the page and which request parameters it will see.

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!

user71930

Thanks for responding Nicholas. Is there another way to delete that URL or somehow redirect it to another page?

nicholas
Akeeba Staff
Manager

Sorry for the late reply, I had to check that what I thought possible really is. Good thing, I was right :) You can use an Apache redirection command:

Redirect component/mailto/?tmpl=component&template=ekho&link=1273336659bebacfae41d23582fda0edbde5503b http://mysite.com

You can add this to your .htaccess either manually (paste it right after the RewriteEngine On line) or, if you are using the .htaccess Maker, paste it in the "Custom .htaccess rules at the top of the file" area.

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!

user71930

Thanks for the reply Nicholas. I tried both ways, however, there was no redirection at all from the page. Any other suggestions? 

nicholas
Akeeba Staff
Manager

No, I'm out of ideas :(

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!

user71930

Thanks for the help!

nicholas
Akeeba Staff
Manager

I'm sorry I couldn't be of more use :(

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!

user71930

That's okay, thank you for the effort! 

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!