Skip to main content
Share Your Experience: Take the 2024 Developer Survey

New answers tagged

0 votes

Redirect from index.html to its directory using .htaccess?

# Remove index RewriteCond %{THE_REQUEST} ^.*/index.html RewriteRule ^(.*)index.html$ https://www.domain.com/$1 [R=301,L]
Michael Yaeger's user avatar

Top 50 recent answers are included