How to solve this problem with my subdomain?

Have you changed the site address to try and remove the wordpress from the URL? This is under Settings then General. You then have two URLs one of which is the actual physical directory and the other is the one you want to appear to the visitors to your website. This should allow you to remove the ‘wordpress’ element from your public URL, unless I am not understanding your question correctly and there is more to this than meets my eye?