Okay
  Public Ticket #3103119
Store URL Permalinks
Closed

Comments

  •  13
    Quintonio started the conversation

    Hi there,

    How do I change the permalinks of the Store URL

    From say:
    WizardKing.com/vendor-list/MyCompany
    to
    WizardKing.com/MyCompany

    If I need to change the .htaccess perhaps, could you kindly inform me how to do so and which folder(s) I would need to place them in

    Thanks guys 🙏🙏🙏

  •  2,219
    WebWizards replied

    Hi there,

    I think you can create a general .htaccess rule that goes from WizardKing.com/vendor-list/MyCompany to WizardKing.com/MyCompany.

    But the problem with a general rule for the home page is: It would apply to all pages, not just vendor pages. So if you go to WizardKing.com/contact-us it would not work, because it would actually give you WizardKing.com/vendor-list/contact-us and you would see an error like 'This store does not exist'.


    So I think you can't do a general rule. You can do a specific rule for 'MyCompany', but like this you would need to modify htaccess every time you have a new vendor on your site.


    Maybe the best solution is if we add a feature to MarketKing that allows you to manually assign a URL for each vendor?

    PS: 

    Of course, if you want, you can edit the vendor-list page and change its slug to a shorter one like 'Shops' or something, so you will have WizardKing.com/shops/mycompany

    Kind regards,

    Stefan

  •  13
    Quintonio replied

    Maybe the best solution is if we add a feature to MarketKing that allows you to manually assign a URL for each vendor?

    yes please🙏🙏🙏 that would be King!

    Would be a great feature to have, 

    perhaps the conditions would be like /shop, /store, /king, /admin, is not allowed, and also have a non-allow list that the Admin could add in,

    similar to Facebook, it can only be changed once or twice max

    it would be great for SEO, and also for the Vendors

    and then, Products that the vendor would have, will go under it, like WizardKing.com/VendorName/category/product-name

    so that say some Vendor would have a same name as another vendor, it would not clash in the main Category and product-name


    Please do guys, this would be a great Feature add-in for MarketKing!

    Best regards,

    Quin

  •  2,219
    WebWizards replied

    Thanks for the feedback, this seems like a great idea! I've added it to the improvements list for future updates,

    If you have other ideas or feedback on improving the plugin, let me know - we're looking to make a lot of improvements and add new features.


    Have a nice weekend,

  •  13
    Quintonio replied

    Awesome!

    Looking forward to it guys!

    Likewise you guys too have a good one!

    Kind regards,

    Quin

  •  9
    Thor Johannes replied

    Having spent some time trying to find a workaround here, I am also very interested in this functionality – to allow custom urls for the vendors.
    Another related question: right now the shop name doesn't seem to allow dashes in the name? name-of-store must be nameofstore? We are planning to move over to MarketKing very soon, but have a different url structure we want to keep, ideally without redirects (example.com/name-of-store)

  •  2,219
    WebWizards replied

    Hi guys,


    I have an update for this, with some new options.

    First of all, to use this, please update to the attached version. To update, first deactivate and delete your existing version of MarketKing Core, and then upload and activate the attached one.


    1) To allow dashes in the name, you can add this PHP code snippet to your site:

    add_filter('marketking_allow_dash_store_url',function($val){
        return 1;
    }, 10, 1);
    

    2) I have added the following checkbox on the vendor user profile page:

    6810353852.png


    When this checkbox enabled, the vendor's store URL is added directly to the site url (e.g. yoursite.com/vendorstore)


    Seems to be working well so far in my tests, but please let me know if you have any issues with it,


    Kind regards,

    Stefan


  •  9
    Thor Johannes replied

    Awesome update, Stefan. Seems to work great. Thank you!!