Support

Admin Tools

#23801 301 redirect with Admin .htaccess, is this Ok?

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 Tuesday, 01 December 2015 22:55 CST

Chacapamac
 I’m using Admintools htaccess
Just want to know if this is a correct redirection

http://www.centrecsai.org redirect to —>
http://centrecsai.org

The results of the URL “http://www.centrecsai.org” in many “Redirect Checker” is

http://www.centrecsai.org Permanent 301 redirect to —>
http://centrecsai.org 200 Ok

The results of the URL “http://centrecsai.org” in many “Redirect Checker” is

http://centrecsai.org/
Status : (200) OK
Either http://centrecsai.org/ is NOT REDIRECTING to any URL or the redirect is NOT SEARCH ENGINE FRIENDLY.

nicholas
Akeeba Staff
Manager
You have set up www to non-www redirection. Therefore if someone visits www.centrecsai.org they are redirected to centrecsai.org (WITHOUT www) with a search engine friendly 301 PERMANENT REDIRECTION.

When they visit centrecsai.org (WITHOUT www) of course they are NOT redirected anywhere.

It would be entirely stupid redirecting centrecsai.org to www.centrecsai.org because visiting www.centrecsai.org would redirect back to centrecsai.org. But centrecsai.org would redirect to www.centrecsai.org which would redirect to centrecsai.org which would redirect to www.centrecsai.org and you have entered an infinite loop.

Therefore:
www.centrecsai.org ---> 301 PERMANENT REDIRECTION to centrecsai.org
centrecsai.org --> 200 OK serving the site
Perfect. This is EXACTLY what you want and what is actually your intention.

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!