After upgrading to 2.3.1 it gives me “too many redirect errors” on both Firefox (OS X and Windows) and Safari (OS X). Reverting back to 2.3.0 fixes the problem. PHP is 5.6.
Any idea what may be going on?
After upgrading to 2.3.1 it gives me “too many redirect errors” on both Firefox (OS X and Windows) and Safari (OS X). Reverting back to 2.3.0 fixes the problem. PHP is 5.6.
Any idea what may be going on?
Any chance I can have a look at your installation: bastian@getkirby.com
I figured it out, it was caused by the following:
redirectMatch 301 ^(.*).html $1
which was set so that example.com/foo.html, are redirected to example.com/foo (the .html were from an old design, but were still indexed in some search engines).
However, I can’t fix it now, the suggestions that I found here:
RewriteCond %{THE_REQUEST} .html
RewriteRule ^(.*).html$ $1 [R=301,L]
do not work, example.com/foo.html results in 404 error. Any idea how to fix this?
I once had the same problem and finally came up with this in my .htaccess right after the RewriteBase:
# reroute old URLs to new URLs
RewriteRule ^index.html$ / [R=301,L]
RewriteRule ^([a-z]+)\.html$ /$1/ [R=301,L]