Htaccess-redirect

From NixTheWorld

Jump to: navigation, search

.htaccess files may also be used to redirect users.

A simple .htaccess redirect entry would look like:

Redirect /original/folder/or/file http://fullpath/to/new/location

From there on out, if you have .htaccess files enabled, anyone browsing to http://yoursite/original/folder/or/file will be redirected to http://fullpath/to/new/location instantly.

snippet

Personal tools