• Resolved f.paulus

    (@fpaulus)


    Hi!
    Just started to test your plugin. Could you please advice how can I change URL from site.com/products/?&SingleProduct=1 to site.com/products/category/product, where product= slug for product?
    Thank you in advance!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter f.paulus

    (@fpaulus)

    I found how to create Pretty Permalinks for products. But I still have some questions:
    1. Why I have”/?” at the end of URL
    2. How can I arrange site.com/products/category/slug instead of site.com/products/product/slug
    3. How can I make the same for category? “site.com/products/category” instead of “site.com/products//?categories=1”

    Thank you in advance!

    • This reply was modified 6 years, 10 months ago by f.paulus.
    • This reply was modified 6 years, 10 months ago by f.paulus.

    Hi f.paulus,

    For #1: WordPress always appends a?trailing?slash to its’ pages. If you’re seeing two slashes, that means that you may have added an extra one in your permalinks.

    For #2 and #3:

    Pretty permalinks only apply to the product, not category and there is currently no option in the plugin to edit the URL in this way.

    If you want to edit it manually, the code can be found in Shortcodes.php.
    Keep in mind, if you update the plugin in the future, you may need to reapply these changes as plugin updates can override manually added code.

    @etoilewebdesign can you explain how to change the url to have the slug versus the default (site.com/products/?&SingleProduct=1)? I’m not finding how that is done. Thanks so much!

    Hi @amandarmnd,

    You can make changes to how the URL is displayed by going to “Options”->”SEO” and turning on “Pretty Permalinks”, then setting a Permalink Base?… and so on.

    NOTE: If you make any changes to this page, please remember that you may need to re-save your permalink structure for this to take effect.
    You can do this by clicking “Settings” (in the left side WordPress menu) -> “Permalinks”. Don’t change anything on this page, just scroll down and click the “Save Changes” button.

    That worked.

    In what instances would one want to change the Permalink Base? Maybe if they are cataloging something other than products?

    Thanks again for you help ??

    Hi @amandarmnd ,

    Some people want to have more control on how their URLs display, which is why we introduced the “Pretty Permalinks”/”Permalink Base” features.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to arrange correct URL?’ is closed to new replies.