Skip to content

Commit d3d1ffb

Browse files
ramseyderickr
authored andcommitted
Update meta redirect to link directly to index.php
When I committed 5cdd1dd, the web server appeared to prefer loading the `index.php` file over `index.html` when requesting `/license/ZendGrant/`. I left `index.html` in place because there were direct links to it from around the web, and I didn't want those links to end at 404 pages, so I set it up to redirect to the cleaner `/license/ZendGrant/` URL, thinking `index.php` would load every time. Now, the web server appears to prefer `index.html` over `index.php`, so landing on this page, either from `/license/ZendGrant/` or `/license/ZendGrant/index.html` results in an endless redirection loop. The easy solution is to make `index.html` redirect directly to `/license/ZendGrant/index.php` instead.
1 parent c6c31e3 commit d3d1ffb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

license/ZendGrant/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<html lang="en">
22
<head>
3-
<meta http-equiv="Refresh" content="15; url='/license/ZendGrant/'">
3+
<meta http-equiv="Refresh" content="5; url='/license/ZendGrant/index.php'">
44
<title>Zend Grant</title>
55
</head>
66
<body>
77
<h1>This page has moved</h1>
8-
<p>If you are not redirected within 15 seconds, please <a href="/license/ZendGrant/">click here</a>.</p>
8+
<p>If you are not redirected within 5 seconds, please <a href="/license/ZendGrant/index.php">click here</a>.</p>
99
</body>
1010
</html>

0 commit comments

Comments
 (0)