.htaccess corrupt

I have a problem with wordpress, seems my root folder´s files are corrupt, can someone please copy and paste de internal code I need for .htaccess so wordpress works in the folder www/ but at the same time my domain redicts to that folder showing the site I am working in?

Thank you very much in advance