Janvier Posted September 4, 2018 Posted September 4, 2018 I'm getting a 404 page on my homepage when I install tb using softaculous in my root folder. But I don't get this error when installing in a subfolder. Root : http://culturecocktails.com/index.html Subfolder : http://culturecocktails.com/dev/ Is it the index.html messing things up? If so, how can I remove it? Friendly URLs is ON. Thanks
0 doclucas Posted September 4, 2018 Posted September 4, 2018 I don't see any index.html on my server. Adding it to the URL also results in 404, but direct access without it is working fine. Your website without the index.html loads perfectly fine: http://culturecocktails.com/ You will see the same issue on your subfolder /dev/ if you try http://culturecocktails.com/dev/index.html
0 doclucas Posted September 4, 2018 Posted September 4, 2018 By the way, if you want to have a valid index.html response, simply add this to your .htaccess file: RewriteRule ^index.html$ /index.php [R,L] right below: ``` Images RewriteCond %{HTTP_HOST} ^www.YOUR-DOMAIN.com$` ```
0 Janvier Posted September 4, 2018 Author Posted September 4, 2018 Thanks, I added that, emptied cache and it worked! For some reason the index.html was adding itself even when I deleted it.
Question
Janvier
I'm getting a 404 page on my homepage when I install tb using softaculous in my root folder.
But I don't get this error when installing in a subfolder.
Root : http://culturecocktails.com/index.html Subfolder : http://culturecocktails.com/dev/
Is it the index.html messing things up? If so, how can I remove it? Friendly URLs is ON.
Thanks
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now