# Redirect 301 - Apache to index.html

### To redirect use the following code in the HEAD section:

```html
<meta http-equiv="refresh" content="0; url=http://example.com/" />
```

Additionally for older browsers if you add a quick link in case it doesn't refresh correctly:

```html
<p><a href="http://example.com/">Redirect</a></p>
```

Will appear as:

```http
Redirect
```

This will still allow you to get to where you're going with an additional click.

### After the links have been set up use:

```bash
./path/to/apache2 configure -x
```

Restart Apache after:

```bash
./path/to/apache2 restart
```
