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

I want to create a file .htaccess for a invisible redirection. The goal is when i input i have to redirect to without changing url in address bar.

Thanks in advance.

share|improve this question

marked as duplicate by Chris S Feb 27 '13 at 14:02

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.

See –  Jenny D Feb 27 '13 at 14:02

2 Answers 2

No can do, you could reverse proxy the requests though.

share|improve this answer

Yes, if both sites are on the same Apache instance. If they're on different servers (or if site2 is run by different software) then you'll need to do the reverse proxy that MindTheMonkey is talking about.

share|improve this answer

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