I want to redirect a
http://site.com/url. What is the simplest way to do this?
I tried editing
httpd.conf and to the redirect command. It didn't worked.
Also I tried creating a file on sites-enabled with rewrite commands. Also, it didn't work out.
Sample config on sites-enabled:
RewriteEngine On RewriteRule /.* http://site.com/url [R]