Basic htaccess redirects

To set up a redirect using .htaccess files you need to enter something akin to the following:

--------

Redirect 301 /example/example_page.html http://www.examplecom/newlocation/newpage.html

Redirect 301 /example2/example_page2.html http://www.example.com/templocation/temppage.html

--------

Explanation

The first section defines the redirect:

Redirect 301 - This is a permanent redirect.

Redirect 302 - temporary redirect (default if no number is supplied).

The second bit is the source

The last bit is the destination.

 

Once you've configured this, as long as it is done correctly, you will see your redirects working.