colindunn
colindunn

Reputation: 3163

.htaccess redirect creates infinite loop

Trying to create a .htaccess redirect results in an infinite loop. This is what my code currently looks like:

Redirect / http://www.website.com/new/

Any idea why this isn't working?

Upvotes: 0

Views: 787

Answers (2)

colindunn
colindunn

Reputation: 3163

Solved it by creating an index page and redirecting from there.

Redirect /index.html http://website.com/new/

Upvotes: 2

uday
uday

Reputation: 8730

try Redirect 301 / http://www.website.com/new/

Upvotes: 0

Related Questions