soloarquitectura
Well-known member
For some reason, some users enter or link to index.html
This takes them to an error page (The requested page could not be found).
I have this in my .htaccess in my root:
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*index\.html?\ HTTP/
RewriteRule ^(.*)index\.html?$ [URL]https://www.mysite.com/$1[/URL] [R=301,L]
but it doesn't work with the XenForo root.
Here in XenForo also occurs:
https://xenforo.com/community/index.html
This takes them to an error page (The requested page could not be found).
I have this in my .htaccess in my root:
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*index\.html?\ HTTP/
RewriteRule ^(.*)index\.html?$ [URL]https://www.mysite.com/$1[/URL] [R=301,L]
but it doesn't work with the XenForo root.
Here in XenForo also occurs:
https://xenforo.com/community/index.html