I am trying to redirect my university webpage with an .htaccess file:
Redirect 301 /~foo/ http://mynewdomain.com/
How does one make it to redirect to only http://mynewdomain.com?
PS: Actually, I believe by default it redirects to http://mynewdomain.com , maybe there is a setting our admin has changed, and I need to revert it?
I have also tried other combinations like:
Redirect 301 / http://mynewdomain.com/ Redirect 301 /~foo http://mynewdomain.com/
but they all redirect to http://mynewdomain.com/~foo