php – MyListing + WCFM – Change path on click (redirect?)


Im attemptng to tweak MyListing and WCFM so they can play nicely together but im having some trouble.

The main issue is that when a user has registered and created a listing it creates the url domain.com/listing/shopname which takes you to the MyListing Shop. So a user searching the listings will click on one and be taken to domain.com/listing/shopname instead of the WCFM store at domain.com/store/shopname. I have tried various redirects but not having any success.

Essentially I need every time someone visits the URL domain.com/listing/shopname it swaps /listing/ for /store/ so the user ends up at domain.com/store/shopname? This will mean they arrive at the WCFM store instead of the MyListing store.

Any help would be appreciated.