Can someone please provide an example (or point me in the right direction) of the html code i need to write to perform a 301 redirect. I want to redirect the non-www version of my site
This is a bit old I see, but it's perhaps worth mentioning that one does not do 301 redirects with HTML. This is a server-side thing, so it's typically done with Apache directives and occasionally with a server-side language.