Most of my web files are presently stored at
sonic.net/~ronks/
I recently got a domain name of
ronksville.com
through Sonic, and the home page is stored there too:
http://www.ronksville.com/index.html
Rather than move all my files within Sonic, I would like to just redirect ronksville requests to the corresponding file on ~ronks; for example
http://www.ronksville.com/aaa/bbb/filename.filetype
to
http://www.sonic.net/~ronks/aaa/bbb/filename.filetype
I've tried to create an .htaccess file in several ways and put it in the top-level ronksville directory, but none of these commands have worked:
redirect "/ronksville.com/" "http://sonic.net/~ronks/"
redirect 301 /old/ronksville.com/ http://sonic.net/~ronks/
redirect "/ronksville.com/index.html" "http://sonic.net/~ronks/index.html"
What am I missing here? I studied the Sonic Wiki page
https://wiki.sonic.net/wiki/.htaccess
but no joy. It also cites a "a cool tool to help me use htaccess"
but http://sonic.net/support/web_resources/htaccess/ gives me a 404.
sonic.net/~ronks/
I recently got a domain name of
ronksville.com
through Sonic, and the home page is stored there too:
http://www.ronksville.com/index.html
Rather than move all my files within Sonic, I would like to just redirect ronksville requests to the corresponding file on ~ronks; for example
http://www.ronksville.com/aaa/bbb/filename.filetype
to
http://www.sonic.net/~ronks/aaa/bbb/filename.filetype
I've tried to create an .htaccess file in several ways and put it in the top-level ronksville directory, but none of these commands have worked:
redirect "/ronksville.com/" "http://sonic.net/~ronks/"
redirect 301 /old/ronksville.com/ http://sonic.net/~ronks/
redirect "/ronksville.com/index.html" "http://sonic.net/~ronks/index.html"
What am I missing here? I studied the Sonic Wiki page
https://wiki.sonic.net/wiki/.htaccess
but no joy. It also cites a "a cool tool to help me use htaccess"
but http://sonic.net/support/web_resources/htaccess/ gives me a 404.