.Htaccess, laat index.php zien

Status
Niet open voor verdere reacties.
Dit doet zo ongeveer precies het tegenovergestelde:p
Dit haalt de .php weg maar ik wil juist dat als je naar "/" gaat je je dan doorgestuurd wordt naar "/index.php".
Dit omdat mijn kruimelspoor naar de url kijkt.
 
Laatst bewerkt:
En een html redirect?
Dan sla je die gewoon op als index.html
HTML heeft meestal prioriteit op PHP bij de meeste webservers.

<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="1;url=http://www.yourdomain.com/website/index.php">
<script type="text/javascript">
window.location.href = "http://www.yourdomain.com/website/index.php"
</script>
<title>Page Redirection</title>
</head>
<body>
<!-- Note: don't tell people to `click` the link, just tell them that it is a link. -->
If you are not redirected automatically, follow the <a href='http://www.yourdomain.com/website/index.php'>link to example</a>
</body>
</html>
 
Status
Niet open voor verdere reacties.

Nieuwste berichten

Terug
Bovenaan Onderaan