Support

Admin Tools

#23571 Redirect from https to http

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 Thursday, 26 November 2015 17:20 CST

cbaugher
I have let my SSL expire because I no longer need it. The problem (that I did not anticipate) is that peoples' browser caches and Googles search engine still point to the https. So i tried so many different .htacces redirects from https to http that I found on the internet to automatically redirect people to the http. Then I read this will not work if you do not have a SSL. Is this true?

So my question is what redirect do I use to at lest let Google search engines know to change my indexed url back to a http.

Currently I have the following at the bottom of my .htaccess file.

Options +FollowSymlinks
RewriteEngine on
RewriteBase /
RewriteCond %{SERVER_PORT} ^443$ [OR]
RewriteCond %{HTTPS} =on
RewriteRule ^(.*)$ http://www.knowingthebible.net/$1 [R=301,L]

tampe125
Akeeba Staff
Hello Cory,

your rule seems fine, searching around I found this alternative but it's pretty the same you are currently using:
RewriteEngine On
RewriteCond %{HTTPS} on
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI}

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!

cbaugher
Thank you! Forgive me if this is a repetitive question but will this actually work to change Googles' indexing. I know that know one knows how long it will take or exactly how Google determines things but I need something that will actually work to change Google.

tampe125
Akeeba Staff
I think it could work, but that's up to Google. Google prefers HTTPS links (if you don't force HTTPS on your site the secure links will be indexed, not the plain ones), however the most important thing is to keep the links valid.
Even if the user clicks on https://whatever, as long as it redirects to the same page http://whatever, you are safe. The user is happy, your search result is valid and everybody wins. I suspect that with the time Google will understand that it has to use the plain version instead of the secure one.

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!

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!