Support

Admin Tools

#10120 URL Redirection not working

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 Monday, 23 January 2012 16:50 CST

user44922
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the forum before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: (1.5)
PHP version: (unknown)
MySQL version: (unknown)
Host: (hostgator)
Admin Tools version: (latest)


Description of my issue:

When I try to redirect the url:

http://imaginemonkey.com/home/item/web-design

to

http://imaginemonkey.com

nothing happens. It sucks because... the template I am using (yoo pure from yootheme) came with widgetkit and the front page module position (article position) is actually a blog post. So, when google crawls the H1 header "Custom Web Design Orange County" - although it gets me page 3 ranking right now, the URL shows as /home/item/web-design.

So... how can I get that link to forward to the index page? I tried the setting in the tools area but nothing happens. It says that the redirection was sucessful, but it wasn't. I tried using both a full URL as well as just the directory path.

I am using canonicalization if that matters.

Thanks.

nicholas
Akeeba Staff
Manager
I think that you are doing the redirection backwards. Here's what you have to do:
Existing URL: http://imaginemonkey.com
New URL: home/item/web-design
If you try that, it'll work as long as the "System - Admin Tools" plugin is published and "Enable the URL Redirection feature" is set to Yes in Admin Tools' "URL Redirection" page.

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!

palazzi
Hi Nicholas,

I too am having a similar issue. Just installed your plugin yesterday, everything so far so good. One weird 403 on user edits, but I can live with it for now.

What I'm trying to do is to send traffic as requested:

http://www.site.com/short

And send the traffic to:

http://www.site.com/index.php/component/content/article?id=56&Itemid=0

I put the site.com/short in the existing URL field, I put it in the new URL field no matter what order, I get a 404 when hitting the page.

Any thoughts?

nicholas
Akeeba Staff
Manager
Swap the existing and the new URLs.

Existing URL: The URL which would anyway exist WITOUT the redirection. In other words, the URL you are redirecting TO (the long URL).

New URL: The URL which is only valid because of the redirection. In other words, the URL you are redirecting FROM (the short URL).

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!

palazzi
WOW - thanks for the lighting response.

Ok, switched order and still no joy. I tried explicit inclusion of "http://sitename.com" as well as just /index.php... and index.php... (without leading /).

Nothing I am doing is working.

The plugin is enabled, redirection is set to YES.

Do I need to do anything in the firewall config? Anywhere else in the system globally?

nicholas
Akeeba Staff
Manager
Can you paste the exact contents of your Existing and New 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
Thank you for the PM. Your fields should read exactly this:

Existing: index.php/component/content/article?id=56&Itemid=0
New: editore

Accessing http://www.example.com/editore should now redirect to http://www.example.com/index.php/component/content/article?id=56&Itemid=0 (where www.example.com is the domain name of your development site)

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!

palazzi
Switched it to what you sent, and still 404. Do I need to do something to the system (cache?) to make it fly?

I can give you a login if you like to try and see what's up if you have no other suggestions.

nicholas
Akeeba Staff
Manager
There are three things you have to check:
1. Is the "System - Admin Tools" plugin enabled? This is required for the URL Redirection and all security features to work.
2. Is the "System - Admin Tools" published before any other plugin? By default, we set the priority to -30000, making sure this is the case. Most notably, this plugin must be published before any SEF plugin, otherwise the redirection will NOT work.
3. In the URL Redirection page, above the list, there is a toggle. It should be set to Yes. Otherwise, the URL redirection feature will be turned off.

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!

palazzi
Thanks Nicholas -

can you let me know how to check on #2 above? #1 is enabled, #3 is YES, don't know how to check on #2.

Thanks!

nicholas
Akeeba Staff
Manager
You can go to the Plugin Manager, limit by the "system" plugin type and order the view by the Ordering column, ascending. The first entry there is the first plugin to be loaded. If it's not "System - Admin Tools" just tell me which one it is so that I can better understand this issue.

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!

palazzi
System - Admin Tools is first, value of 0, however also with 0:

System - Core Design Scriptegrator plugin
Joomla! Update Email
Modules Anywhere
NoNumber! Framework
NoNumber! Elements
Slider
Sourcerer
System Restore Points
Tooltips

Nothing is set at -30000, but System One Click Action is at -31000

nicholas
Akeeba Staff
Manager
OK, try entering -30000 in the ordering field on the "System - Admin Tools" row. Then click the disk icon next to the Ordering header.

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!

palazzi
Done - still 404 on the /editore URL. :(

nicholas
Akeeba Staff
Manager
One more thing. Let's make sure we are on the same page. Can you try installing the latest developer's release?

If this still fails, you'll have to send me a Personal Message (I am user "nicholas") with the following information:
- A URL back to this thread; otherwise I won't remember why you're sending me the PM
- The URL to your site's back-end
- Super Administrator username and password
and give me 24 hours so that I can take a look myself

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!

palazzi
Hi - I can't afford to play with alpha software right now, the site is scheduled for launch in one week and there is a ton to do - this is a nice to have. Sadly not working.

One more theory - could this have something to do with any of the settings in the .htaccess maker? I ran it with defaults, as per the quick start in the guide.

TIA.

nicholas
Akeeba Staff
Manager
Then all I can tell you is to make sure that you're using Admin Tools 2.1.14. Anything lower could have a problem. On all of my sites, 2.1.14's URL redirections work perfectly. And no, .htaccess settings have nothing to do 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!

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!