0

Hi,

I am trying to set up a redirect 301 and have tried several methods which appears to be all wrong. Can anyone advice exactly how redirect 301 works?

redirect 301 http://newdomain.com/

redirect 301 / http://newdomain.com/

redirect 301 http://olddomain.com/ http://newdomain.com/
redirect 301 http://www.olddomain.com/ http://newdomain.com/

redirect 301 /^(.*)$ http://newdomain.com/$1

Ideally, http://olddomain.com goes to http://newdomain.com and http://olddomain.com/example.html will go to http://newdomain.com/example.html

Can I do all this without the RewriteEngine On?

PS: If there's any documentation I'll be glad to do my own homework. Thanks.

Edited by jakesee: n/a

2
Contributors
1
Reply
2
Views
8 Years
Discussion Span
Last Post by blud
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.