Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Possible Duplicate:
how to redirect to via htaccess while on zend framework

I want to redirect to

Can any body help me, How can do that using htaccess.

share|improve this question

marked as duplicate by womble, Janne Pikkarainen, Bart De Vos, sam, Chopper3 Aug 3 '11 at 13:42

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

This should do it;

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.example\.com$ 
RewriteRule (.*)$1 [R=301,L]
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.