Support

Admin Tools

#26008 too many redirects

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 on Saturday, 01 October 2016 17:20 CDT

user72049
 Hi,

I have the site shrinemont.com. I added SSL.

www directing to non-www
HSTS = Yes
Joomla Force HTTPS = Entire site

All above works great.

I also have shrinemont.org. Here lies the problem.

http://shrinemont.org redirects to https://shrinemont.com
but
http://www.shrinemont.org creates too many redirects error.
Resulting url = https://shrinemont.com/https://shrinemont.com/404

So what I did that is wrong is I put this code in the Custom htaccess rule at bottom of file:
RewriteCond %{HTTP_HOST} ^shrinemont\.org$ [OR]
RewriteCond %{HTTP_HOST} ^www\.shrinemont\.org$
RewriteRule ^(.*)$ "https\:\/\/shrinemont\.com\/$1" [R=301,L]

But I don't know how to do this correctly. I need help fixing this.

Thanks,
Helen

user72049
But this has only happened once to me and now it works fine.

This has happened to many other visitors and I cannot get the details on what url was entered.

So now I am puzzled.

user72049
I have a report that it occurs on shrinemont.com, too.

tampe125
Akeeba Staff
Hello,

I suspect the problem is inside the .org site.
How do you perform the redirection?

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user72049
The redirect code I included in the first post.

tampe125
Akeeba Staff
Please update your .htaccess file to use only the following rule:
RewriteRule ^(.*)$ "https\:\/\/shrinemont\.com\/" [R=301,L]

In this way you are telling the webserver to redirect everything to the new domain, no matter what. Please note that I removed the $1 param, since you don't need to carry URL params to the new site.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user72049
Thanks Davide. I will update that and let you know if I have any further issues.

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!