• Artan

    (@artankrasniqi1988)


    Hi @dholovnia,

    I set up a site with the shortcode for the logo catalog [brb_catalog] in “.de/Marken”. When I click on that site in front end on a desired logo to lead me to the products archive page, the url is for example:

    “de/aktuelles/news-blog/brands/bach/”

    The “/brand/…” sits underneath my blog page “/news-blog/…”!? Why is that? How can I change the destination to a desired url / page like:

    “.de/marke/brand-name/”

    I think the logic that the product archive page sits beneath the blog page quite weird.

    Is there a shortcode to output the result page somewhere else or another way? Couldn′t find anything in the docs…

    Thanks a lot for your help!

    Artan

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Artan

    (@artankrasniqi1988)

    Hi,

    I found this code in main.php in the plugin folder. I changed the value in line 358:

    'with_front' => true,

    from “true” to “false” which removed the individual permalink structure that I have in WordPress settings: “/aktuelles/news-blog/%category%/%postname%/”.

    Now “/aktuelles/news-blog/” is gone in front of my url which is only now “/brands/brand-name/”. But the problem now is that a 404 Page is thrown out at this url and not the product archive site with the brand products.

    I couldn′t find a solution yet to show the product archive page for the brands at that url.

    Any help?

    I think it would be nice to give an easy option to set the desired url easily. Well u can insert in the input of the permalink options the url for the brands archive pages but there is no option to exclude the main permalink structure of wordpress. I really don′t want my blog archive permalinkstructure to be the main root url for the brands archive pages…. I think everybody can agree that this seems bit logical incorrect.

    Help is appreciated.

    Thanks and regards!

    Plugin Author RazyRx

    (@razyrx)

    Hello,

    For permalink structure plugin by default use same functionality as any other taxonomies in WordPress.

    ‘with_front’ => true, option enable archive pages for brands and without it frontend will be not dispalyed at all.

    Regards,
    Oleg

    Thread Starter Artan

    (@artankrasniqi1988)

    Hi RazyRx,

    really thanks for your reply, but it points really in no direction how to solve this. Is there no way of avoiding that the plugin uses the blog post permalinkstructure.

    Can it perhaps use somehow the permalinkstructure of products (woocommerce) instead or a way of setting your own like “.de/my-wish-url/brands/brand-name” or just display it after main url “.de/brands/brands-name/”.

    If I delete the custom url permalink structure for blog I can get it to desired url but I need the structure for the blog. It′s really a conflict in my case. ??

    Thanks and regards!

    Plugin Author RazyRx

    (@razyrx)

    Hello,

    Link for brand page depend on this line

    'slug' => $category_base . ( empty($permalink_option) ? __( 'brands', 'brands-for-woocommerce' ) : $permalink_option ),

    And from code it seems depend on WooCommerce shop page.

    Regards,
    Oleg

    Thread Starter Artan

    (@artankrasniqi1988)

    Hi,

    if I set it from true to false

    ‘with_front’ => false,

    I get the desired url strukture which not includes anymore my blog permalink structure. So I get

    .de/brand/brand-name/

    instead of

    .de/latest/news-blog/brand/brand-name/

    But the template doesn′t load at “.de/brand/brand-name/” and I get a 404 page. Can u explain why this plugin needs the permalink structure of the blog page. This seems so unnecessary.

    In my settings I have set for blog permalink individual strukture which I need

    “…/latest/news-blog/%category%/%postname%/”

    So the plugin uses for displaying the archive page “/latest/news-blog/” and then after that the desired slug /brand/ which u can set in the settings.

    Come on mate, would be good if we can get rid of the blog permalink strukture and show the archive page on desired url like .de/brand/brand-name.

    I need the individuela permalink strukture. If I delete it the brand archive page is shown at .de/brand/brand-name/ but as I said I need the blog permalink strukture.

    Would really appreciate a solution here!

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Link target of logo catalog [brb_catalog] leads to blog page’ is closed to new replies.