Support

Admin Tools

#14406 URL Redirection adds New URL to end of Existing URL

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 artisanwebandprint on Friday, 11 January 2013 12:30 CST

artisanwebandprint

Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? yes, all including support
Have I searched the tickets before posting? yes
Have I read the documentation before posting (which pages?)? url redirection
Joomla! version: 2.5.8
PHP version: Version 5.3.18
MySQL version: 5.5.28
Host: amazon cloud
Admin Tools version: 2.4.3

Description of my issue:

I've created a website redesign for my client and I thought I would maintain his page rankings by creating URL Redirects.  His old site is a Joomla 1.0 on flexi and the new is 2.5.8 on Zoo.

The old page: http://www.richardmcbee.com/site/index.php?option=com_content&task=view&id=18&Itemid=10

The new page (once I point the DNS): /index.php/writings/jewish-art-primer/item/a-jewish-art-primer-part-1  (right now it's on a subdomain of my site: http://rmb.artisanwebandprint.com)

The image in URL redirection:

2012-12-16_2029_59f84.png

Now, when I enter the "new url" at the end of my subdomain: http://rmb.artisanwebandprint.com/site/index.php?option=com_content&task=view&id=18&Itemid=10 I get this: http://rmb.artisanwebandprint.com/index.php/writings/jewish-art-primer/item/a-jewish-art-primer-part-1?option=com_content&task=view&id=18&Itemid=10

So it combines the two urls, the new and existing.  I opened up the .htaccess.admintools to see how the 301 redirect is written but I don't see it in the htaccess file.  This leads me to think you're using a php redirect.  Is this happening because of the subdomain?  Should I just write it into the htaccess file with a 301?

 

Thanks,

 

Dawn

 

nicholas
Akeeba Staff
Manager

You cannot redirect a URL with query parameter to a URL without query parameters. The URL redirection feature keeps the query parameters. It was designed to redirect from an old SEF URL to a new SEF URL or from an SEF URL to an external site. It wasn't designed to work as an SEF component. You will have to write this redirection in the .htaccess file. Please note that you will have to put your redirection at the beginning (not the end) of your .htaccess file.

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!

artisanwebandprint

Thanks for the information Nicolas. 

 

Dawn

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!