redirect with Apache add the following line to your config file. ``` Redirect 301 /dir/local.file http://www.u...">

Apache file redirects

To do a simple redirect with Apache add the following line to your config file.

Redirect 301 /dir/local.file http://www.url.com/link.html

Error code 301 dictates a permanent move, and a 302 dictates the move is temporary. 302 is the default.

Leave A Reply
All content licensed under the Creative Commons License