301 redirects in .htaccess on apache

Posted by WhitechapelTom on Stack Overflow See other posts from Stack Overflow or by WhitechapelTom
Published on 2014-08-19T10:18:19Z Indexed on 2014/08/19 10:20 UTC
Read the original article Hit count: 189

I guess this should be straightforward but my host got me to switch server from zeus to apache following which the .htaccess file with existing individual 301 redirects failed to work causing an internal server error, so have commented them out for the time being. Could someone explain how to set these up to work in their new apache context? Have no apache experience

Example redirect:

Redirect 301 /pages/exhibitions/thegreatindoors.html http://www.klassnik.com/pages/thegreatindoors.html

Read a lot about mod rewrites etc but not sure what to write. Thanks

© Stack Overflow or respective owner

Related posts about apache

Related posts about .htaccess