Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WC Marketplace › Permalink Product Vendors
- This topic has 5 replies, 2 voices, and was last updated 5 years, 9 months ago by WCFM Forum.
- AuthorPosts
- February 23, 2019 at 6:13 pm #49738DenisGuest
Dear
I would like to know if it is feasible to allow the product links also to assume the address structure of each seller’s store, allowing the product to be accessed through two links and ensuring that navigation between the products of a particular store always maintains the same address structure.
Ex:
A) Standard link
http://www.site.com/woocommerce/produtct1
B) Product link in store
http://www.site.com/stores/mystore1/produtct1What is the possibility of also enabling link structure B?
- February 24, 2019 at 10:04 am #49774WCFM ForumMember
Hi,
Sorry, WordPress does not support multiple permalink for single item.
Thank You
- February 24, 2019 at 1:38 pm #49815Denis Gomes PereiraGuest
I want to make the store own domain, I already have a solution implemented, but it does not work well due to the fact that the products do not have the same basic structure in permalink.
I would love to implement a solution, I envisioned a routine in php that would be able to make all products take their links to the same store base structure, and a simple alternative to avoiding link breaks would be to do a redirect fix through htaccess .
Another tip, today I am using a third party plugin to allow multiple domains, it seems to me to be a very simple solution and that it would make a lot of sense to incorporate them, or even sell them as a separate solution. - February 24, 2019 at 2:02 pm #49822WCFM ForumMember
Hi,
Well, there is a plugin for the purpose – https://codecanyon.net/item/woocommerce-marketplace-vendor-subdomain/22242767?ref=motionstop
But that only works for WebKul Multi-vendor plugin.
Thank You
- February 25, 2019 at 11:18 am #49995Denis Gomes PereiraGuest
I love the plugin of yours, the page generated for each store is simply great, inclussive I can put domains of my own without much effort.
But when I put domain ownership for a store, the product link does not follow the same URL base and therefore disrupts navigability.
My suggestion would be when the user accesses a store the marketplace plugin rewrites the link of all products with the base link of the store and determines a default fix through htaccess.
Do you think it’s possible?
- February 26, 2019 at 5:07 am #50091WCFM ForumMember
Hi,
Please check at – wp-content\plugins\wc-multivendor-marketplace\core\class-wcfmmp-rewrite.php at line 122 (https://ibb.co/1JPg8ym)
Store page links rewrite rules generated from here, possibly you have to tweak these to make this working.
Sorry, I am not very sure with this tweak! You have to find out the right WP rewrite rule for this!
Thank You
- AuthorPosts
- The topic ‘Permalink Product Vendors’ is closed to new replies.