That is not a supportable configuration. Wordpress should not be installed at the root of a site which also contains an ecommerce application.