How do I make my website go to "/ " and not "/index.html"?
IchbinDumm
0
Newbie Poster
Recommended Answers
Jump to PostSorry I'm in a hurry but basically you should write a 301 redirect using a rewriteRule in .htaccess.
The rule would look something like this:RewriteRule ^(.*)index\.html$ $1 [R=301,L]
But you have to turn rewrite engine on and may have to apply a condition as well. But that …
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.