redirect www -> bare domain
fix media uploads